AccountId <-> AccountIndex mappings (#301)

This commit is contained in:
Jaco Greeff
2018-10-15 21:32:41 +02:00
committed by GitHub
parent a62c480c9e
commit 8f35b763b3
3 changed files with 65 additions and 4 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ import U8a from './codec/U8a';
import u8aToBn from '@polkadot/util/u8a/toBn';
import bnToU8a from '@polkadot/util/bn/toU8a';
const ENUMSET_SIZE = new BN(64);
export const ENUMSET_SIZE = new BN(64);
// A wrapper around an AccountIndex, which is a shortened, variable-length encoding
// for an Account. We extends from U8a which is basically