Skip to content

Commit 42ba358

Browse files
committed
fix build issues
1 parent 7fd457a commit 42ba358

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/xrpld/rpc/handlers/NoRippleCheck.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -171,16 +171,6 @@ doNoRippleCheck(RPC::JsonContext& context)
171171
fillTransaction(context, tx, accountID, seq, *ledger);
172172
}
173173

174-
STAmount limitAmount(
175-
ownedItem->getFieldAmount(bLow ? sfLowLimit : sfHighLimit));
176-
limitAmount.setIssuer(peer);
177-
178-
Json::Value& tx = jvTransactions.append(Json::objectValue);
179-
tx["TransactionType"] = jss::TrustSet;
180-
tx["LimitAmount"] = limitAmount.getJson(JsonOptions::none);
181-
tx["Flags"] = bNoRipple ? tfClearNoRipple : tfSetNoRipple;
182-
fillTransaction(context, tx, accountID, seq, *ledger);
183-
184174
return true;
185175
}
186176
}

0 commit comments

Comments
 (0)