Browse Source

Enable reserve burn fix

pull/446/head
miketout 2 years ago
parent
commit
49c8a13855
  1. 4
      src/rpc/pbaasrpc.cpp

4
src/rpc/pbaasrpc.cpp

@ -6742,9 +6742,9 @@ UniValue sendcurrency(const UniValue& params, bool fHelp)
{
throw JSONRPCError(RPC_INVALID_PARAMETER, "To specify a fractional currency converter, \"currency\" and \"convertto\" must both be reserves of \"via\"");
}
if (burnCurrency || mintNew || preConvert)
if (mintNew || preConvert)
{
throw JSONRPCError(RPC_INVALID_PARAMETER, "Cannot combine reserve to reserve conversion with burning, minting, or preconversion");
throw JSONRPCError(RPC_INVALID_PARAMETER, "Cannot combine reserve to reserve conversion with minting or preconversion");
}
if (convertToCurrencyID.IsNull())
{

Loading…
Cancel
Save