From c19af115c81831a846b7e3b74e5b5d89b68f9c18 Mon Sep 17 00:00:00 2001 From: Richard Holland Date: Thu, 9 Mar 2023 11:25:29 +0000 Subject: [PATCH] fix for escrow seqID bug found on testnet --- src/ripple/app/tx/impl/Escrow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ripple/app/tx/impl/Escrow.cpp b/src/ripple/app/tx/impl/Escrow.cpp index 93562df05..5c77d47e0 100644 --- a/src/ripple/app/tx/impl/Escrow.cpp +++ b/src/ripple/app/tx/impl/Escrow.cpp @@ -298,7 +298,7 @@ EscrowCreate::doApply() // sequence or ticket. For more explanation see comments in SeqProxy.h. auto xferRate = transferRate(view(), amount.getIssuer()); Keylet const escrowKeylet = - keylet::escrow(account, ctx_.tx.getSeqProxy().value()); + keylet::escrow(account, seqID(ctx_)); auto const slep = std::make_shared(escrowKeylet); (*slep)[sfAmount] = ctx_.tx[sfAmount]; (*slep)[sfAccount] = account;