mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-19 18:15:50 +00:00
fix for escrow seqID bug found on testnet
This commit is contained in:
@@ -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<SLE>(escrowKeylet);
|
||||
(*slep)[sfAmount] = ctx_.tx[sfAmount];
|
||||
(*slep)[sfAccount] = account;
|
||||
|
||||
Reference in New Issue
Block a user