mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-05-31 12:11:04 +00:00
Bump deps (#281)
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user