Bump deps (#281)

This commit is contained in:
Jaco Greeff
2020-02-17 21:02:55 +01:00
committed by GitHub
parent 7b7d467143
commit fd11071566
10 changed files with 67 additions and 67 deletions
+3 -3
View File
@@ -26,9 +26,9 @@
"store": "^2.0.12"
},
"devDependencies": {
"@polkadot/keyring": "^2.4.0-beta.0",
"@polkadot/types": "^1.3.0-beta.8",
"@polkadot/util": "^2.4.0-beta.0",
"@polkadot/keyring": "^2.4.0-beta.2",
"@polkadot/types": "^1.3.0-beta.11",
"@polkadot/util": "^2.4.0-beta.2",
"@types/ledgerhq__hw-transport-node-hid": "^4.21.1",
"@types/ledgerhq__hw-transport-u2f": "^4.21.1",
"@types/mkdirp": "^0.5.2",
+1 -1
View File
@@ -263,7 +263,7 @@ export class Keyring extends Base implements KeyringStruct {
public restoreAccount (json: KeyringPair$Json, password: string): KeyringPair {
const type = Array.isArray(json.encoding.content) ? json.encoding.content[1] : 'ed25519';
const pair = createPair(
type,
{ toSS58: this.encodeAddress, type },
{
// FIXME Just for the transition period (ignoreChecksum)
publicKey: this.decodeAddress(json.address, true)