update xrpl to 4.0.0
This commit is contained in:
@@ -116,7 +116,8 @@ export class xrpIO {
|
||||
throw new Error(`Insufficient funds to send transaction. See tx ${response.result.hash}`)
|
||||
}
|
||||
|
||||
this.dbg("Tx finalized", response.result.hash, response.result.Sequence)
|
||||
|
||||
this.dbg("Tx finalized", response.result.hash, response.result.tx_json.Sequence)
|
||||
return response
|
||||
|
||||
}
|
||||
@@ -187,11 +188,13 @@ export class xrpIO {
|
||||
}
|
||||
const tx = await this.getTransaction(hash)
|
||||
|
||||
if(verifyOwner && tx.result.Account != verifyOwner){
|
||||
throw new CannotVerifyOwnerError(hash, tx.result.Account, verifyOwner)
|
||||
|
||||
|
||||
if(verifyOwner && tx.result.tx_json.Account != verifyOwner){
|
||||
throw new CannotVerifyOwnerError(hash, tx.result.tx_json.Account, verifyOwner)
|
||||
}
|
||||
|
||||
const memo = tx.result.Memos[0].Memo
|
||||
const memo = tx.result.tx_json.Memos[0].Memo
|
||||
const memoParsed = {
|
||||
data: hexDecode(memo.MemoData),
|
||||
format: hexDecode(memo.MemoFormat),
|
||||
|
||||
Reference in New Issue
Block a user