aboutsummaryrefslogtreecommitdiff
path: root/src/test/util
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-04-04 11:52:44 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-04-08 08:58:44 +0200
commitfa732bccb3cf9bc2cdc444975286df0e799917a2 (patch)
treee5a89212f42a3a4e41936f7b2df4a9dc9253042a /src/test/util
parentaa69471ecd553dbcd7dd6d1b2e59dfb69d6a0cf3 (diff)
downloadbitcoin-fa732bccb3cf9bc2cdc444975286df0e799917a2.tar.xz
test: Use compressed keys in TestChain100Setup
coinbaseKey.MakeNewKey(true); creates a compressed key and there is no reason for the deterministic setup to use uncompressed ones.
Diffstat (limited to 'src/test/util')
-rw-r--r--src/test/util/setup_common.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/util/setup_common.cpp b/src/test/util/setup_common.cpp
index f7800aefca..2f3e7aee5d 100644
--- a/src/test/util/setup_common.cpp
+++ b/src/test/util/setup_common.cpp
@@ -213,7 +213,7 @@ TestChain100Setup::TestChain100Setup(bool deterministic)
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1
}
};
- coinbaseKey.Set(vchKey.begin(), vchKey.end(), false);
+ coinbaseKey.Set(vchKey.begin(), vchKey.end(), true);
} else {
coinbaseKey.MakeNewKey(true);
}
@@ -225,7 +225,7 @@ TestChain100Setup::TestChain100Setup(bool deterministic)
LOCK(::cs_main);
assert(
m_node.chainman->ActiveChain().Tip()->GetBlockHash().ToString() ==
- "49c95db1e470fed04496d801c9d8fbb78155d2c7f855232c918823d2c17d0cf6");
+ "571d80a9967ae599cec0448b0b0ba1cfb606f584d8069bd7166b86854ba7a191");
}
}