[rpc] fundrawtransaction: Fix help text and interface

This commit is contained in:
MarcoFalke
2016-06-03 19:07:08 +02:00
parent 52c3f348be
commit faf82e8fc8
2 changed files with 3 additions and 3 deletions

View File

@@ -681,7 +681,7 @@ class RawTransactionsTest(BitcoinTestFramework):
inputs = []
outputs = {self.nodes[2].getnewaddress() : 1}
rawtx = self.nodes[3].createrawtransaction(inputs, outputs)
result = self.nodes[3].fundrawtransaction(rawtx, )
result = self.nodes[3].fundrawtransaction(rawtx) # 1000 sat via settxfee
result2 = self.nodes[3].fundrawtransaction(rawtx, {"feeRate": 2000})
result3 = self.nodes[3].fundrawtransaction(rawtx, {"feeRate": 10000})
assert_equal(result['fee']*2, result2['fee'])