Skip to content

Commit

Permalink
fix gen hash in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jagdeep sidhu committed Mar 17, 2023
1 parent 4923d40 commit 078ab98
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contrib/linearize/example-linearize.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ input=/home/example/.syscoin/blocks

# regtest
#netmagic=fabfb5da
#genesis=0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206
#genesis=28a2c2d251f46fac05ade79085cbcb2ae4ec67ea24f1f1c7b40a348c00521194
#input=/home/example/.syscoin/regtest/blocks

# signet
Expand Down
2 changes: 1 addition & 1 deletion test/functional/rpc_getblockstats.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def run_test(self):

self.log.info('Test block height 0')
genesis_stats = self.nodes[0].getblockstats(0)
assert_equal(genesis_stats["blockhash"], "0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206")
assert_equal(genesis_stats["blockhash"], "28a2c2d251f46fac05ade79085cbcb2ae4ec67ea24f1f1c7b40a348c00521194")
assert_equal(genesis_stats["utxo_increase"], 1)
assert_equal(genesis_stats["utxo_size_inc"], 117)
assert_equal(genesis_stats["utxo_increase_actual"], 0)
Expand Down
2 changes: 1 addition & 1 deletion test/functional/wallet_importdescriptors.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ def run_test(self):
encrypted_wallet.walletpassphrase("passphrase", 99999)
t = threading.Thread(target=encrypted_wallet.importdescriptors, args=([descriptor],))

with self.nodes[0].assert_debug_log(expected_msgs=[f'Rescan started from block 0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206... (slow variant inspecting all blocks)'], timeout=5):
with self.nodes[0].assert_debug_log(expected_msgs=[f'Rescan started from block 28a2c2d251f46fac05ade79085cbcb2ae4ec67ea24f1f1c7b40a348c00521194... (slow variant inspecting all blocks)'], timeout=5):
t.start()

# Set the passphrase timeout to 1 to test that the wallet remains unlocked during the rescan
Expand Down
2 changes: 1 addition & 1 deletion test/functional/wallet_transactiontime_rescan.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def run_test(self):

t = threading.Thread(target=encrypted_wallet.rescanblockchain)

with minernode.assert_debug_log(expected_msgs=[f'Rescan started from block 0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206... (slow variant inspecting all blocks)'], timeout=5):
with minernode.assert_debug_log(expected_msgs=[f'Rescan started from block 28a2c2d251f46fac05ade79085cbcb2ae4ec67ea24f1f1c7b40a348c00521194... (slow variant inspecting all blocks)'], timeout=5):
t.start()

# set the passphrase timeout to 1 to test that the wallet remains unlocked during the rescan
Expand Down

0 comments on commit 078ab98

Please sign in to comment.