fix(MintToken): Sign transaction popup was not showing correct data

Fixed params to pass to sign transaction popup: chainId, chainName and accountName.
This commit is contained in:
Noelia 2023-06-02 11:20:51 +02:00 committed by Noelia
parent 1efef94edb
commit cbe290a735

View File

@ -387,19 +387,19 @@ SettingsPageLayout {
anchors.centerIn: Overlay.overlay anchors.centerIn: Overlay.overlay
title: qsTr("Sign transaction - Mint %1 token").arg(popup.tokenName) title: qsTr("Sign transaction - Mint %1 token").arg(popup.tokenName)
tokenName: parent.name tokenName: preview.name
accountName: parent.accountName accountName: preview.accountName
networkName: parent.chainName networkName: preview.chainName
feeText: root.feeText feeText: root.feeText
errorText: root.errorText errorText: root.errorText
isFeeLoading: root.isFeeLoading isFeeLoading: root.isFeeLoading
onOpened: { onOpened: {
root.setFeeLoading() root.setFeeLoading()
root.signMintTransactionOpened(parent.chainId, d.accountAddress) root.signMintTransactionOpened(preview.chainId, d.accountAddress)
} }
onCancelClicked: close() onCancelClicked: close()
onSignTransactionClicked: parent.signMintTransaction() onSignTransactionClicked: preview.signMintTransaction()
} }
} }
} }