Save genesisHash with recent (#198)

This commit is contained in:
Jaco Greeff
2019-09-03 15:55:26 +02:00
committed by GitHub
parent 0a0d8e7025
commit 1243184b28
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
},
"devDependencies": {
"@polkadot/keyring": "^1.2.0-beta.6",
"@polkadot/types": "^0.91.0-beta.14",
"@polkadot/types": "^0.91.0-beta.16",
"@polkadot/util": "^1.2.0-beta.6"
},
"peerDependencies": {
+1
View File
@@ -326,6 +326,7 @@ export class Keyring extends Base implements KeyringStruct {
this.addresses.add(this._store, address, {
address,
meta: {
genesisHash: this.genesisHash,
isRecent: true,
whenCreated: Date.now()
}
+4 -4
View File
@@ -2098,10 +2098,10 @@
dependencies:
"@types/chrome" "^0.0.88"
"@polkadot/types@^0.91.0-beta.14":
version "0.91.0-beta.14"
resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.91.0-beta.14.tgz#d0d6f4ecb983988f0695fb4bc44ecbb3d888d510"
integrity sha512-57KdS7mMPuBUUdjMwbXkIrsVf48KWTw2CDv13Ry5+IrGUPnO+/oOC+DnegQ2Oy/+J2wI6+4emOetEh6UGVhwPQ==
"@polkadot/types@^0.91.0-beta.16":
version "0.91.0-beta.16"
resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.91.0-beta.16.tgz#98ca2e2fa713a9b6021549144aeca9e91e3560d4"
integrity sha512-JK73wdMwECc6lNxaShxLEd5JDY75QyWS+fk2jjGsv76BEw8KC/k0MQjtMbOZrtSFDkAk1BSzD/YIoz4C8LUsQA==
dependencies:
"@babel/runtime" "^7.5.5"
"@polkadot/util" "^1.2.0-beta.6"