Cleanup util-crypto & keyring imports (#314)

* Cleanup util-crypto & keyring imports

* Adjust util imports for types

* Bump deps
This commit is contained in:
Jaco Greeff
2018-10-18 11:06:02 +02:00
committed by GitHub
parent ef5e0f6c9c
commit 290123b85f
35 changed files with 74 additions and 133 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import { RxBalance, RxBalanceMap, RxReferendumVote } from './types';
import BN from 'bn.js';
import { EMPTY, Observable, from } from 'rxjs';
import { switchMap, defaultIfEmpty, map } from 'rxjs/operators';
import decodeAddress from '@polkadot/keyring/address/decode';
import { decodeAddress } from '@polkadot/keyring';
import { AccountId, AccountIndex, Balance, bool as Bool, BlockNumber, Moment, ReferendumIndex } from '@polkadot/types/index';
import { ENUMSET_SIZE } from '@polkadot/types/AccountIndex';
import assert from '@polkadot/util/assert';