mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 22:36:24 +00:00
fix: default value for trx data
This commit is contained in:
parent
4d2e396b7f
commit
c2f2b7e6cd
@ -162,7 +162,7 @@ Rectangle {
|
||||
var acc = walletModel.dappBrowserAccount
|
||||
const value = utilsModel.wei2Eth(request.payload.params[0].value, 18);
|
||||
const sendDialog = sendTransactionModalComponent.createObject(browserWindow, {
|
||||
trxData:request.payload.params[0].data,
|
||||
trxData: request.payload.params[0].data || "",
|
||||
selectedAccount: {
|
||||
name: acc.name,
|
||||
address: request.payload.params[0].from,
|
||||
|
@ -11,7 +11,7 @@ Item {
|
||||
property var toAccount
|
||||
property var asset
|
||||
property var amount
|
||||
property string trxData: "0x"
|
||||
property string trxData: ""
|
||||
property string currency: "USD"
|
||||
property var gas
|
||||
height: content.height
|
||||
|
Loading…
x
Reference in New Issue
Block a user