diff --git a/lib/wallet/rpc.js b/lib/wallet/rpc.js index 45cfd8b4..f9c64798 100644 --- a/lib/wallet/rpc.js +++ b/lib/wallet/rpc.js @@ -394,7 +394,7 @@ RPC.prototype.getBalance = async function getBalance(args, help) { const wallet = this.wallet; const valid = new Validator([args]); let name = valid.str(0); - const minconf = valid.u32(1, 0); + const minconf = valid.u32(1, 1); const watchOnly = valid.bool(2, false); if (name === '')