mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-04 20:05:50 +00:00
Update tx-sender for API v2
This commit is contained in:
@@ -77,7 +77,7 @@ async function onClickCreateEscrow(
|
|||||||
}
|
}
|
||||||
setEscrowWidthPercent(0)
|
setEscrowWidthPercent(0)
|
||||||
|
|
||||||
if(escrowCreateResponse.result.Sequence === undefined) {
|
if(escrowCreateResponse.result.tx_json.Sequence === undefined) {
|
||||||
|
|
||||||
errorNotif(submitConstData.alert,
|
errorNotif(submitConstData.alert,
|
||||||
"Error: Unable to get the sequence number from EscrowCreate, so cannot submit an EscrowFinish transaction.")
|
"Error: Unable to get the sequence number from EscrowCreate, so cannot submit an EscrowFinish transaction.")
|
||||||
@@ -95,7 +95,7 @@ async function onClickCreateEscrow(
|
|||||||
Account: sendingWallet.address,
|
Account: sendingWallet.address,
|
||||||
TransactionType: "EscrowFinish",
|
TransactionType: "EscrowFinish",
|
||||||
Owner: sendingWallet.address,
|
Owner: sendingWallet.address,
|
||||||
OfferSequence: escrowCreateResponse.result.Sequence
|
OfferSequence: escrowCreateResponse.result.tx_json.Sequence
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user