[rpc] fundrawtransaction: Fix help text and interface
This commit is contained in:
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user