mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix escrowid and offerid
This commit is contained in:
@@ -101,7 +101,7 @@ CancelOffer::doApply()
|
||||
|
||||
Keylet cancel =
|
||||
hooksEnabled && offerID && offerSequence == 0
|
||||
? keylet::offer(account_, *offerID)
|
||||
? Keylet(ltOFFER, *offerID)
|
||||
: keylet::offer(account_, offerSequence);
|
||||
|
||||
if (auto sleOffer = view().peek(cancel))
|
||||
|
||||
@@ -475,7 +475,7 @@ EscrowFinish::doApply()
|
||||
|
||||
Keylet k =
|
||||
escrowID
|
||||
? keylet::escrow(ctx_.tx[sfOwner], *escrowID)
|
||||
? Keylet(ltESCROW, *escrowID)
|
||||
: keylet::escrow(ctx_.tx[sfOwner], ctx_.tx[sfOfferSequence]);
|
||||
|
||||
auto const slep = ctx_.view().peek(k);
|
||||
@@ -706,7 +706,7 @@ EscrowCancel::doApply()
|
||||
|
||||
Keylet k =
|
||||
escrowID
|
||||
? keylet::escrow(ctx_.tx[sfOwner], *escrowID)
|
||||
? Keylet(ltESCROW, *escrowID)
|
||||
: keylet::escrow(ctx_.tx[sfOwner], ctx_.tx[sfOfferSequence]);
|
||||
|
||||
auto const slep = ctx_.view().peek(k);
|
||||
|
||||
Reference in New Issue
Block a user