parent
d341b49bad
commit
7bca4aa24f
@ -198,6 +198,9 @@ export default class CreateWalletStore {
|
|||||||
.get()
|
.get()
|
||||||
.registry
|
.registry
|
||||||
.lookupAddress(walletLibraryRegKey)
|
.lookupAddress(walletLibraryRegKey)
|
||||||
|
.catch(() => {
|
||||||
|
return null; // exception when registry is not available
|
||||||
|
})
|
||||||
.then((address) => {
|
.then((address) => {
|
||||||
const walletLibraryAddress = (address || '').replace(/^0x/, '').toLowerCase();
|
const walletLibraryAddress = (address || '').replace(/^0x/, '').toLowerCase();
|
||||||
const code = walletLibraryAddress.length && !/^0+$/.test(walletLibraryAddress)
|
const code = walletLibraryAddress.length && !/^0+$/.test(walletLibraryAddress)
|
||||||
|
Loading…
Reference in New Issue
Block a user