diff --git a/qa/rpc-tests/shieldcoinbase_donation.py b/qa/rpc-tests/shieldcoinbase_donation.py index 42e6b7329..efbf4939d 100755 --- a/qa/rpc-tests/shieldcoinbase_donation.py +++ b/qa/rpc-tests/shieldcoinbase_donation.py @@ -121,7 +121,7 @@ class ShieldCoinbaseDonationTest (BitcoinTestFramework): shieldingValue = response['shieldingValue'] # sanity check - assert_greater_than_or_equal( shieldingValue , 1.0 ) + assert_greater_than_or_equal( shieldingValue , 3.0 ) # TODO: this might not be enough time for slow machines, better # solution would be to wait until the opid finishes @@ -146,9 +146,9 @@ class ShieldCoinbaseDonationTest (BitcoinTestFramework): # 14999999.95 # The above value will be truncated (not rounded) by casting from # double to CAmount/int64_t which means the donation will be 14999999 - # and the sendAmount will be 300000000 - 14999999 = 285000001 + # and the sendAmount will be 300000000 - 1 (the fee) - 14999999 = 285000000 - expectedSendAmount = 285000001 + expectedSendAmount = 285000000 expectedDonationAmount = 14999999 # actually seeing this: 2.84990500 + 0.14999500 = 2.99990000 @@ -203,7 +203,7 @@ class ShieldCoinbaseDonationTest (BitcoinTestFramework): #wait_and_assert_operationid_status(rpc, opid) shieldingValue = response['shieldingValue'] - assert_greater_than_or_equal( shieldingValue , 1.0 ) + assert_greater_than_or_equal( shieldingValue , 3.0 ) time.sleep(2) # give some time for the ztx to complete