aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_send.py
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2021-05-29 09:32:55 +0100
committerRoss Nicoll <[email protected]>2021-05-30 22:12:51 +0100
commit4fea2ce46877fdf754dc9e22d1e8b3830f5919bd (patch)
treec784707358fa06965cacf0ee90752fcbf82402ef /test/functional/wallet_send.py
parentMerge pull request #1977 from rnicoll/1.21-difficulty (diff)
downloaddiscoin-4fea2ce46877fdf754dc9e22d1e8b3830f5919bd.tar.xz
discoin-4fea2ce46877fdf754dc9e22d1e8b3830f5919bd.zip
Add Dogecoin block subsidies
Diffstat (limited to 'test/functional/wallet_send.py')
-rwxr-xr-xtest/functional/wallet_send.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/functional/wallet_send.py b/test/functional/wallet_send.py
index ea9d63e0e..957ff2e9b 100755
--- a/test/functional/wallet_send.py
+++ b/test/functional/wallet_send.py
@@ -326,12 +326,13 @@ class WalletSendTest(BitcoinTestFramework):
res = self.test_send(from_wallet=w0, to_wallet=w1, amount=51, inputs=[], add_to_wallet=False)
assert res["complete"]
utxo1 = w0.listunspent()[0]
- assert_equal(utxo1["amount"], 50)
- self.test_send(from_wallet=w0, to_wallet=w1, amount=51, inputs=[utxo1],
+ # Dogecoin: Scale up to 500,000 Doge block reward
+ assert_equal(utxo1["amount"], 500000)
+ self.test_send(from_wallet=w0, to_wallet=w1, amount=510000, inputs=[utxo1],
expect_error=(-4, "Insufficient funds"))
- self.test_send(from_wallet=w0, to_wallet=w1, amount=51, inputs=[utxo1], add_inputs=False,
+ self.test_send(from_wallet=w0, to_wallet=w1, amount=510000, inputs=[utxo1], add_inputs=False,
expect_error=(-4, "Insufficient funds"))
- res = self.test_send(from_wallet=w0, to_wallet=w1, amount=51, inputs=[utxo1], add_inputs=True, add_to_wallet=False)
+ res = self.test_send(from_wallet=w0, to_wallet=w1, amount=510000, inputs=[utxo1], add_inputs=True, add_to_wallet=False)
assert res["complete"]
self.log.info("Manual change address and position...")