fix(@desktop/wallet): app crash when click on sign and send message
A reason why the crash is happening is actually previous step, when an user who is about to receive a transaction clicks "confirm and share address" button. In that moment instead of his address an empty js object is shared. After that clicking on the "sign and send" button, by sender, causes an app crash because transaction cannot be made using invalid address of the recipient. Fixes: #2718
This commit is contained in:
parent
9e58563fcf
commit
eb7809ecdf
|
@ -112,7 +112,7 @@ Item {
|
|||
SelectAccountModal {
|
||||
id: selectAccountModal
|
||||
onSelectAndShareAddressButtonClicked: {
|
||||
chatsModel.transactions.acceptAddressRequest(messageId, accountSelector.selectedAccount)
|
||||
chatsModel.transactions.acceptAddressRequest(messageId, accountSelector.selectedAccount.address)
|
||||
selectAccountModal.close()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue