ss58 keyring bump (#105)

* ss58 keyring bump

* loadAll (ignoreChecksum)

* Restore ignore checksum

* Identicon decode params
This commit is contained in:
Jaco Greeff
2019-03-29 15:28:59 +01:00
committed by GitHub
parent 2fbde461dc
commit a8101eea05
8 changed files with 68 additions and 17 deletions
+2 -2
View File
@@ -43,8 +43,8 @@ export default class Base {
throw new Error(`Keyring should be initialised via 'loadAll' before use`);
}
decodeAddress (key: string | Uint8Array): Uint8Array {
return this.keyring.decodeAddress(key);
decodeAddress (key: string | Uint8Array, ignoreChecksum?: boolean): Uint8Array {
return this.keyring.decodeAddress(key, ignoreChecksum);
}
encodeAddress (key: string | Uint8Array): string {