From b841bf4cdfd3c53a4ddff375d267571e49194f42 Mon Sep 17 00:00:00 2001 From: ijanus Date: Sun, 4 Aug 2024 22:07:21 +0100 Subject: [PATCH] Fix functional/feature_assumeutxo.py file --- src/common/signmessage.cpp | 2 +- test/functional/feature_assumeutxo.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/signmessage.cpp b/src/common/signmessage.cpp index 30e2faafc..b96145df2 100644 --- a/src/common/signmessage.cpp +++ b/src/common/signmessage.cpp @@ -72,7 +72,7 @@ bool MessageSign( uint256 MessageHash(const std::string& message) { - CHashWriterKeccak hasher(SER_GETHASH, PROTOCOL_VERSION);; + CHashWriterKeccak hasher(SER_GETHASH, PROTOCOL_VERSION); hasher << MESSAGE_MAGIC << message; return hasher.GetHash(); diff --git a/test/functional/feature_assumeutxo.py b/test/functional/feature_assumeutxo.py index 4cdb903a9..f0c81d3b9 100755 --- a/test/functional/feature_assumeutxo.py +++ b/test/functional/feature_assumeutxo.py @@ -153,7 +153,7 @@ def expected_error(log_msg="", rpc_details=""): def test_headers_not_synced(self, valid_snapshot_path): for node in self.nodes[1:]: - msg = "Unable to load UTXO snapshot: The base block header (3bb7ce5eba0be48939b7a521ac1ba9316afee2c7bada3a0cca24188e6d7d96c0) must appear in the headers chain. Make sure all headers are syncing, and call loadtxoutset again." + msg = "Unable to load UTXO snapshot: The base block header (1e6b433578be026c430295078d3faca1d757c0aafec3252e385c300b35f3824b) must appear in the headers chain. Make sure all headers are syncing, and call loadtxoutset again." assert_raises_rpc_error(-32603, msg, node.loadtxoutset, valid_snapshot_path) def test_invalid_chainstate_scenarios(self): @@ -213,7 +213,7 @@ def test_snapshot_block_invalidated(self, dump_output_path): block_hash = node.getblockhash(height) node.invalidateblock(block_hash) assert_equal(node.getblockcount(), height - 1) - msg = "Unable to load UTXO snapshot: The base block header (3bb7ce5eba0be48939b7a521ac1ba9316afee2c7bada3a0cca24188e6d7d96c0) is part of an invalid chain." + msg = "Unable to load UTXO snapshot: The base block header (1e6b433578be026c430295078d3faca1d757c0aafec3252e385c300b35f3824b) is part of an invalid chain." assert_raises_rpc_error(-32603, msg, node.loadtxoutset, dump_output_path) node.reconsiderblock(block_hash)