wallet/rpc: Use the default maxfeerate value as BTC/kB

This commit is contained in:
Joonmo Yang
2019-08-02 02:03:01 +09:00
parent 3a3d8b8357
commit 261843e4be
4 changed files with 20 additions and 22 deletions

View File

@ -240,7 +240,7 @@ class SegWitTest(BitcoinTestFramework):
tx.vin.append(CTxIn(COutPoint(int(txid2, 16), 0), b""))
tx.vout.append(CTxOut(int(49.95 * COIN), CScript([OP_TRUE, OP_DROP] * 15 + [OP_TRUE]))) # Huge fee
tx.calc_sha256()
txid3 = self.nodes[0].sendrawtransaction(ToHex(tx))
txid3 = self.nodes[0].sendrawtransaction(ToHex(tx), 0)
assert tx.wit.is_null()
assert txid3 in self.nodes[0].getrawmempool()