diff options
| author | Tomo Ueda <[email protected]> | 2021-09-02 12:56:56 -0700 |
|---|---|---|
| committer | Tomo Ueda <[email protected]> | 2021-09-02 12:56:56 -0700 |
| commit | 42f6cc56c2909e9b04f4c549f9ebb1e5e0d78622 (patch) | |
| tree | 5ee83fd64a21f643e730182ed5dbe3eafab9f15a /qa/rpc-tests/txn_doublespend.py | |
| parent | really s/Doge/Dis/g this time (diff) | |
| download | discoin-42f6cc56c2909e9b04f4c549f9ebb1e5e0d78622.tar.xz discoin-42f6cc56c2909e9b04f4c549f9ebb1e5e0d78622.zip | |
s/DOGE/DIS/g
Diffstat (limited to 'qa/rpc-tests/txn_doublespend.py')
| -rwxr-xr-x | qa/rpc-tests/txn_doublespend.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qa/rpc-tests/txn_doublespend.py b/qa/rpc-tests/txn_doublespend.py index 46f8743e3..34845e877 100755 --- a/qa/rpc-tests/txn_doublespend.py +++ b/qa/rpc-tests/txn_doublespend.py @@ -26,7 +26,7 @@ class TxnMallTest(BitcoinTestFramework): return super(TxnMallTest, self).setup_network(True) def run_test(self): - # All nodes should start with 7,500,000 DOGE: + # All nodes should start with 7,500,000 DIS: starting_balance = 7500000 for i in range(4): assert_equal(self.nodes[i].getbalance(), starting_balance) @@ -47,7 +47,7 @@ class TxnMallTest(BitcoinTestFramework): # Coins are sent to node1_address node1_address = self.nodes[1].getnewaddress("from0") - # First: use raw transaction API to send 7440000 DOGE to node1_address, + # First: use raw transaction API to send 7440000 DIS to node1_address, # but don't broadcast: doublespend_fee = Decimal('-120') rawtx_input_0 = {} @@ -77,7 +77,7 @@ class TxnMallTest(BitcoinTestFramework): tx1 = self.nodes[0].gettransaction(txid1) tx2 = self.nodes[0].gettransaction(txid2) - # Node0's balance should be starting balance, plus 500,000 DOGE for another + # Node0's balance should be starting balance, plus 500,000 DIS for another # matured block, minus 7499960, minus 120000, and minus transaction fees: expected = starting_balance + fund_foo_tx["fee"] + fund_bar_tx["fee"] if self.options.mine_block: expected += 500000 @@ -119,7 +119,7 @@ class TxnMallTest(BitcoinTestFramework): assert_equal(tx1["confirmations"], -2) assert_equal(tx2["confirmations"], -2) - # Node0's total balance should be starting balance, plus 1000000 DOGE for + # Node0's total balance should be starting balance, plus 1000000 DIS for # two more matured blocks, minus 7440000 for the double-spend, plus fees (which are # negative): expected = starting_balance + 1000000 - 7440000 + fund_foo_tx["fee"] + fund_bar_tx["fee"] + doublespend_fee |