Skip to content

Commit 70c8656

Browse files
committed
CRC: fix build error and move copyright text to top of monitor_signers file
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent 970b8c4 commit 70c8656

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

stacks-signer/src/monitor_signers.rs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
use std::collections::HashMap;
2-
3-
use clarity::codec::read_next;
4-
use clarity::types::chainstate::{StacksAddress, StacksPrivateKey, StacksPublicKey};
5-
use clarity::types::StacksEpochId;
6-
use clarity::util::sleep_ms;
7-
use libsigner::v0::messages::{MessageSlotID, SignerMessage};
8-
use libsigner::SignerSession;
9-
use slog::{slog_info, slog_warn};
10-
use stacks_common::{info, warn};
11-
12-
use crate::cli::MonitorSignersArgs;
13-
use crate::client::{ClientError, SignerSlotID, StacksClient};
14-
use crate::utils::stackerdb_session;
15-
161
// Copyright (C) 2020-2024 Stacks Open Internet Foundation
172
//
183
// This program is free software: you can redistribute it and/or modify
@@ -28,6 +13,21 @@ use crate::utils::stackerdb_session;
2813
// You should have received a copy of the GNU General Public License
2914
// along with this program. If not, see <http://www.gnu.org/licenses/>.
3015

16+
use std::collections::HashMap;
17+
18+
use clarity::codec::read_next;
19+
use clarity::types::chainstate::{StacksAddress, StacksPrivateKey, StacksPublicKey};
20+
use clarity::types::StacksEpochId;
21+
use clarity::util::sleep_ms;
22+
use libsigner::v0::messages::{MessageSlotID, SignerMessage};
23+
use libsigner::SignerSession;
24+
use slog::{slog_info, slog_warn};
25+
use stacks_common::{info, warn};
26+
27+
use crate::cli::MonitorSignersArgs;
28+
use crate::client::{ClientError, SignerSlotID, StacksClient};
29+
use crate::utils::stackerdb_session;
30+
3131
/// The `SignerMonitor` struct is used to monitor the signers stackerdb slots for expected new messages
3232
pub struct SignerMonitor {
3333
/// The client being used to monitor stackerdb messages

testnet/stacks-node/src/neon_node.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2268,6 +2268,7 @@ impl BlockMinerThread {
22682268
stacks_tip_height,
22692269
pox_consensus,
22702270
server_version,
2271+
network_id: self.config.get_burnchain_config().chain_id,
22712272
}
22722273
}
22732274

@@ -2392,8 +2393,7 @@ impl BlockMinerThread {
23922393
return Ok(());
23932394
}
23942395
let election_sortition = last_winner_snapshot.consensus_hash;
2395-
let mock_proposal =
2396-
MockProposal::new(peer_info, self.config.burnchain.chain_id, &mining_key);
2396+
let mock_proposal = MockProposal::new(peer_info, &mining_key);
23972397

23982398
info!("Sending mock proposal to stackerdb: {mock_proposal:?}");
23992399

0 commit comments

Comments
 (0)