update type for decimal 0
This commit is contained in:
parent
8240f73c68
commit
89307b131a
|
@ -46,7 +46,7 @@ class WalletChangeAddressesTest(BitcoinTestFramework):
|
||||||
taddrSource = self.nodes[0].getnewaddress()
|
taddrSource = self.nodes[0].getnewaddress()
|
||||||
for _ in range(6):
|
for _ in range(6):
|
||||||
recipients = [{"address": taddrSource, "amount": Decimal('2')}]
|
recipients = [{"address": taddrSource, "amount": Decimal('2')}]
|
||||||
myopid = self.nodes[0].z_sendmany(midAddr, recipients, 1, Decimal('0'))
|
myopid = self.nodes[0].z_sendmany(midAddr, recipients, 1, 0)
|
||||||
wait_and_assert_operationid_status(self.nodes[0], myopid)
|
wait_and_assert_operationid_status(self.nodes[0], myopid)
|
||||||
self.sync_all()
|
self.sync_all()
|
||||||
self.nodes[1].generate(1)
|
self.nodes[1].generate(1)
|
||||||
|
@ -56,11 +56,11 @@ class WalletChangeAddressesTest(BitcoinTestFramework):
|
||||||
recipients = [{"address": target, "amount": Decimal('1')}]
|
recipients = [{"address": target, "amount": Decimal('1')}]
|
||||||
|
|
||||||
# Send funds to recipient address twice
|
# Send funds to recipient address twice
|
||||||
myopid = self.nodes[0].z_sendmany(taddrSource, recipients, 1, Decimal('0'))
|
myopid = self.nodes[0].z_sendmany(taddrSource, recipients, 1, 0)
|
||||||
txid1 = wait_and_assert_operationid_status(self.nodes[0], myopid)
|
txid1 = wait_and_assert_operationid_status(self.nodes[0], myopid)
|
||||||
self.nodes[1].generate(1)
|
self.nodes[1].generate(1)
|
||||||
self.sync_all()
|
self.sync_all()
|
||||||
myopid = self.nodes[0].z_sendmany(taddrSource, recipients, 1, Decimal('0'))
|
myopid = self.nodes[0].z_sendmany(taddrSource, recipients, 1, 0)
|
||||||
txid2 = wait_and_assert_operationid_status(self.nodes[0], myopid)
|
txid2 = wait_and_assert_operationid_status(self.nodes[0], myopid)
|
||||||
self.nodes[1].generate(1)
|
self.nodes[1].generate(1)
|
||||||
self.sync_all()
|
self.sync_all()
|
||||||
|
|
Loading…
Reference in New Issue