Skip to content

Commit e98cfff

Browse files
committed
Update tx-sender for API v2
1 parent b394ea0 commit e98cfff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/dev-tools/tx-sender.page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ async function onClickCreateEscrow(
7777
}
7878
setEscrowWidthPercent(0)
7979

80-
if(escrowCreateResponse.result.Sequence === undefined) {
80+
if(escrowCreateResponse.result.tx_json.Sequence === undefined) {
8181

8282
errorNotif(submitConstData.alert,
8383
"Error: Unable to get the sequence number from EscrowCreate, so cannot submit an EscrowFinish transaction.")
@@ -95,7 +95,7 @@ async function onClickCreateEscrow(
9595
Account: sendingWallet.address,
9696
TransactionType: "EscrowFinish",
9797
Owner: sendingWallet.address,
98-
OfferSequence: escrowCreateResponse.result.Sequence
98+
OfferSequence: escrowCreateResponse.result.tx_json.Sequence
9999
})
100100
}
101101
}

0 commit comments

Comments
 (0)