* 0.54

* 0.54
This commit is contained in:
Jaco Greeff
2020-06-16 09:01:20 +02:00
committed by GitHub
parent be246413fa
commit e142284713
16 changed files with 415 additions and 408 deletions
+1 -4
View File
@@ -276,10 +276,7 @@ export class Keyring extends Base implements KeyringStruct {
const type = Array.isArray(json.encoding.content) ? json.encoding.content[1] : 'ed25519';
const pair = createPair(
{ toSS58: this.encodeAddress, type },
{
// FIXME Just for the transition period (ignoreChecksum)
publicKey: this.decodeAddress(json.address, true)
},
{ publicKey: this.decodeAddress(json.address, true) },
json.meta,
hexToU8a(json.encoded)
);