mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-13 01:51:01 +00:00
0.6 (#430)
This commit is contained in:
@@ -110,7 +110,11 @@ export class Base {
|
||||
}
|
||||
|
||||
this.#keyring = keyring;
|
||||
this._genesisHash = options.genesisHash && options.genesisHash.toHex();
|
||||
this._genesisHash = options.genesisHash && (
|
||||
isString(options.genesisHash)
|
||||
? options.genesisHash.toString()
|
||||
: options.genesisHash.toHex()
|
||||
);
|
||||
this._store = options.store || this._store;
|
||||
|
||||
this.addAccountPairs();
|
||||
|
||||
Reference in New Issue
Block a user