mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-23 15:20:54 +00:00
fix: Correct sign-check wording in lending protocol messages (#7913)
This commit is contained in:
@@ -3260,9 +3260,9 @@ class Invariants_test : public beast::unit_test::Suite
|
||||
"set must not change assets available",
|
||||
"set must not change shares outstanding",
|
||||
"set must not change vault balance",
|
||||
"assets available must be positive",
|
||||
"assets available must not be negative",
|
||||
"assets available must not be greater than assets outstanding",
|
||||
"assets outstanding must be positive"},
|
||||
"assets outstanding must not be negative"},
|
||||
[&](Account const& a1, Account const& a2, ApplyContext& ac) {
|
||||
auto const keylet = keylet::vault(a1.id(), ac.view().seq());
|
||||
auto sleVault = ac.view().peek(keylet);
|
||||
@@ -3424,7 +3424,7 @@ class Invariants_test : public beast::unit_test::Suite
|
||||
TxAccount::A2);
|
||||
|
||||
doInvariantCheck(
|
||||
{"assets maximum must be positive"},
|
||||
{"assets maximum must not be negative"},
|
||||
[&](Account const& a1, Account const& a2, ApplyContext& ac) {
|
||||
auto const keylet = keylet::vault(a1.id(), ac.view().seq());
|
||||
return kAdjust(ac.view(), keylet, kArgs(a2.id(), 0, [&](Adjustments& sample) {
|
||||
@@ -3612,7 +3612,7 @@ class Invariants_test : public beast::unit_test::Suite
|
||||
|
||||
doInvariantCheck(
|
||||
{
|
||||
"assets maximum must be positive",
|
||||
"assets maximum must not be negative",
|
||||
"create operation must not have updated a vault",
|
||||
},
|
||||
[&](Account const& a1, Account const& a2, ApplyContext& ac) {
|
||||
|
||||
Reference in New Issue
Block a user