This commit is contained in:
blackjok3r
2018-10-02 00:53:28 +08:00
parent 478370fd6c
commit 0367b1a685

View File

@@ -4429,7 +4429,7 @@ UniValue z_mergetoaddress(const UniValue& params, bool fHelp)
#endif
if (numUtxos > 2 && numNotes == 0) {
if (numUtxos < 2 && numNotes == 0) {
throw JSONRPCError(RPC_WALLET_INSUFFICIENT_FUNDS, "Could not find any funds to merge.");
}