4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-11 17:55:51 +00:00

add condition to see if public key exists in node

This commit is contained in:
Phillip Lang Martinez 2022-08-24 15:45:01 +03:00
parent 3ddd8009f5
commit b6caf16645

View File

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