diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-11-12 17:37:01 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-11-12 17:43:20 +0100 |
| commit | 7ffb880775dea72e517d19c27eed871f26f8d817 (patch) | |
| tree | b163f3c3a43bcd9d6fbeae2952b13dd6a53a0cce | |
| parent | Merge pull request #5245 (diff) | |
| parent | gather_inputs: use correct variable in error message (diff) | |
| download | discoin-7ffb880775dea72e517d19c27eed871f26f8d817.tar.xz discoin-7ffb880775dea72e517d19c27eed871f26f8d817.zip | |
Merge pull request #5240
5e2dcae gather_inputs: use correct variable in error message (dexX7)
| -rw-r--r-- | qa/rpc-tests/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/util.py b/qa/rpc-tests/util.py index c895eb161..e5383b6c5 100644 --- a/qa/rpc-tests/util.py +++ b/qa/rpc-tests/util.py @@ -225,7 +225,7 @@ def gather_inputs(from_node, amount_needed): total_in += t["amount"] inputs.append({ "txid" : t["txid"], "vout" : t["vout"], "address" : t["address"] } ) if total_in < amount_needed: - raise RuntimeError("Insufficient funds: need %d, have %d"%(amount+fee*2, total_in)) + raise RuntimeError("Insufficient funds: need %d, have %d"%(amount_needed, total_in)) return (total_in, inputs) def make_change(from_node, amount_in, amount_out, fee): |