Auto merge of #2068 - bitcartel:2045_sendmany_fee_zero, r=bitcartel

Closes #2045 by allowing z_sendmany with 0 fee
This commit is contained in:
zkbot
2017-02-09 18:56:44 +00:00
3 changed files with 20 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ AsyncRPCOperation_sendmany::AsyncRPCOperation_sendmany(
Value contextInfo) :
fromaddress_(fromAddress), t_outputs_(tOutputs), z_outputs_(zOutputs), mindepth_(minDepth), fee_(fee), contextinfo_(contextInfo)
{
assert(fee_ > 0);
assert(fee_ >= 0);
if (minDepth < 0) {
throw JSONRPCError(RPC_INVALID_PARAMETER, "Minconf cannot be negative");