mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 18:45:55 +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.
|
// sequence or ticket. For more explanation see comments in SeqProxy.h.
|
||||||
auto xferRate = transferRate(view(), amount.getIssuer());
|
auto xferRate = transferRate(view(), amount.getIssuer());
|
||||||
Keylet const escrowKeylet =
|
Keylet const escrowKeylet =
|
||||||
keylet::escrow(account, ctx_.tx.getSeqProxy().value());
|
keylet::escrow(account, seqID(ctx_));
|
||||||
auto const slep = std::make_shared<SLE>(escrowKeylet);
|
auto const slep = std::make_shared<SLE>(escrowKeylet);
|
||||||
(*slep)[sfAmount] = ctx_.tx[sfAmount];
|
(*slep)[sfAmount] = ctx_.tx[sfAmount];
|
||||||
(*slep)[sfAccount] = account;
|
(*slep)[sfAccount] = account;
|
||||||
|
|||||||
Reference in New Issue
Block a user