mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Introduce CheckCashMakesTrustLine amendment:
With this amendment, the CheckCash transaction creates a TrustLine if needed. The change is modeled after offer crossing. And, similar to offer crossing, cashing a check allows an account to exceed its trust line limit.
This commit is contained in:
committed by
manojsdoshi
parent
8d59c7dd40
commit
bf75094224
@@ -348,8 +348,9 @@ Env::postconditions(JTx const& jt, TER ter, bool didApply)
|
||||
if (jt.ter &&
|
||||
!test.expect(
|
||||
ter == *jt.ter,
|
||||
"apply: " + transToken(ter) + " (" + transHuman(ter) + ") != " +
|
||||
transToken(*jt.ter) + " (" + transHuman(*jt.ter) + ")"))
|
||||
"apply: Got " + transToken(ter) + " (" + transHuman(ter) +
|
||||
"); Expected " + transToken(*jt.ter) + " (" +
|
||||
transHuman(*jt.ter) + ")"))
|
||||
{
|
||||
test.log << pretty(jt.jv) << std::endl;
|
||||
// Don't check postconditions if
|
||||
|
||||
Reference in New Issue
Block a user