mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-14 23:01:02 +00:00
Bump dev (w/ eslint 8 & fixes) (#530)
This commit is contained in:
@@ -61,11 +61,11 @@ export class Base {
|
||||
|
||||
public decodeAddress = (key: string | Uint8Array, ignoreChecksum?: boolean, ss58Format?: Prefix): Uint8Array => {
|
||||
return this.keyring.decodeAddress(key, ignoreChecksum, ss58Format);
|
||||
}
|
||||
};
|
||||
|
||||
public encodeAddress = (key: string | Uint8Array, ss58Format?: Prefix): string => {
|
||||
return this.keyring.encodeAddress(key, ss58Format);
|
||||
}
|
||||
};
|
||||
|
||||
public getPair (address: string | Uint8Array): KeyringPair {
|
||||
return this.keyring.getPair(address);
|
||||
|
||||
@@ -13,7 +13,8 @@ export class BrowserStore implements KeyringStore {
|
||||
}
|
||||
|
||||
public get (key: string, cb: (value: KeyringJson) => void): void {
|
||||
cb(store.get(key));
|
||||
// eslint-disable-next-line node/no-callback-literal
|
||||
cb(store.get(key) as KeyringJson);
|
||||
}
|
||||
|
||||
public remove (key: string, cb?: () => void): void {
|
||||
|
||||
Reference in New Issue
Block a user