We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 072b4f3 commit c211094Copy full SHA for c211094
src/ripple_app/tx/TrustSetTransactor.cpp
@@ -116,7 +116,7 @@ TER TrustSetTransactor::doApply ()
116
117
const uint32 uOwnerCount = mTxnAccount->getFieldU32 (sfOwnerCount);
118
// The reserve required to create the line.
119
- const uint64 uReserveCreate = mEngine->getLedger ()->getReserve (uOwnerCount + 1);
+ const uint64 uReserveCreate = (uOwnerCount < 2) ? 0 : mEngine->getLedger ()->getReserve (uOwnerCount + 1);
120
121
STAmount saLimitAllow = saLimitAmount;
122
saLimitAllow.setIssuer (mTxnAccountID);
0 commit comments