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

Merge pull request #66 from PhillipLangMartinez/bugfix/become-minter-findminting-account

fix bug change var condition
This commit is contained in:
AlphaX-Projects 2022-08-29 17:22:51 +02:00 committed by GitHub
commit 39b461d480
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,10 +148,10 @@ class BecomeMinter extends LitElement {
render() {
const findMintingAccount = this.mintingAccountData?.find(
(ma) => ma.publicKey === window.parent.reduxStore.getState().app?.selectedAddress
?.base58PublicKey
(ma) => ma.recipientAccount === window.parent.reduxStore.getState().app?.selectedAddress
?.address
);
const isAlreadySponsored =
this.addressInfo?.error !== 124 &&
this.addressInfo?.level === 0 &&