Browse Source

add condition to see if public key exists in node

qchat-updates
Phillip Lang Martinez 2 years ago
parent
commit
b6caf16645
  1. 4
      qortal-ui-plugins/plugins/core/become-minter/become-minter.src.js

4
qortal-ui-plugins/plugins/core/become-minter/become-minter.src.js

@ -147,9 +147,9 @@ class BecomeMinter extends LitElement {
} }
render() { render() {
console.log({ mintingAccountData: this.mintingAccountData });
const findMintingAccount = this.mintingAccountData?.find( const findMintingAccount = this.mintingAccountData?.find(
(ma) => !!ma.publicKey (ma) => ma.publicKey === window.parent.reduxStore.getState().app?.selectedAddress
?.base58PublicKey
); );
const isAlreadySponsored = const isAlreadySponsored =

Loading…
Cancel
Save