chore: API sync

This commit is contained in:
Jude Nelson
2022-11-10 16:52:54 -05:00
parent 6c6df6a7ef
commit 853e0ff08e

View File

@@ -658,9 +658,10 @@ fn mempool_setup_chainstate() {
let mut conf = super::new_test_conf();
conf.node.seed = vec![0x00];
let mut keychain = Keychain::default(conf.node.seed.clone());
let keychain = Keychain::default(conf.node.seed.clone());
for i in 0..4 {
let microblock_secret_key = keychain.rotate_microblock_keypair(1 + i);
// let microblock_secret_key = keychain.rotate_microblock_keypair(1 + i);
let microblock_secret_key = keychain.get_microblock_key(1 + i);
let mut microblock_pubkey =
Secp256k1PublicKey::from_private(&microblock_secret_key);
microblock_pubkey.set_compressed(true);