mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-13 22:41:02 +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:
@@ -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