]> Git Repo - VerusCoin.git/commitdiff
Use sendfrom for both t-addr calls
authorJack Grigg <[email protected]>
Wed, 21 Jun 2017 21:34:10 +0000 (09:34 +1200)
committerJack Grigg <[email protected]>
Wed, 21 Jun 2017 21:34:10 +0000 (09:34 +1200)
qa/rpc-tests/mempool_tx_input_limit.py

index b2d71cf3a38b360b7c1b0c798e5a0c3731eaf84b..89a96a0ca82f3f4c0b87750cc8f3ec6d1a4473f5 100755 (executable)
@@ -143,7 +143,7 @@ class MempoolTxInputLimitTest(BitcoinTestFramework):
         assert_equal(set(self.nodes[1].getrawmempool()), set())
 
         # Should use two UTXOs and succeed
-        spend_taddr_id2 = self.nodes[1].sendtoaddress(node0_taddr, spend_taddr_output + spend_taddr_output - Decimal('1'))
+        spend_taddr_id2 = self.nodes[1].sendfrom("", node0_taddr, spend_taddr_output + spend_taddr_output - Decimal('1'))
 
         # Spend should be in the mempool
         assert_equal(set(self.nodes[1].getrawmempool()), set([ spend_taddr_id2 ]))
This page took 0.025753 seconds and 4 git commands to generate.