mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-11-21 01:56:11 +00:00
Simplify KeyringAddress interface (#144)
* Simplify ui-keyring KeyringAddress * Adapt to new @polkadot/keyring KeyPair interface * Pull in common 0.93.0-beta.4 * KeyringAddress | undefined
This commit is contained in:
1 parent
03f22988a4
commit
2a30f2f483
4 files changed
+22
-42
No files matched your search
@@ -20,8 +20,8 @@ render () {
|
||||
const pair = keyring.getPair(address);
|
||||
|
||||
// ask questions about that particular keyring pair
|
||||
const isLocked = pair.isLocked();
|
||||
const meta = pair.getMeta();
|
||||
const isLocked = pair.isLocked;
|
||||
const meta = pair.meta;
|
||||
|
||||
// save account from pair
|
||||
keyring.saveAccount(pair, password);
|
||||
|
||||
Reference in new issue
Block a user