mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-06-16 01:24:25 +08:00
chore: API sync
This commit is contained in:
@@ -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(µblock_secret_key);
|
||||
microblock_pubkey.set_compressed(true);
|
||||
|
||||
Reference in New Issue
Block a user