File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
testnet/stacks-node/src/nakamoto_node Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ pub struct StackerDBListener {
111
111
/// Tracks any replay transactions from signers to decide when the miner should
112
112
/// attempt to replay reorged blocks
113
113
/// - key: StacksPublicKey
114
- /// - value: Vec<StacksTransaction >
114
+ /// - value: Vec<ReplayInfo >
115
115
pub ( crate ) replay_info : Arc < Mutex < HashMap < StacksPublicKey , ReplayInfo > > > ,
116
116
}
117
117
@@ -184,11 +184,8 @@ impl StackerDBListener {
184
184
} )
185
185
. collect :: < Result < HashMap < _ , _ > , ChainstateError > > ( ) ?;
186
186
187
- let reward_cycle = burnchain
188
- . block_height_to_reward_cycle ( burn_tip. block_height )
189
- . expect ( "BUG: unknown reward cycle" ) ;
190
187
let signers_contract_id = MessageSlotID :: StateMachineUpdate
191
- . stacker_db_contract ( config. is_mainnet ( ) , reward_cycle ) ;
188
+ . stacker_db_contract ( config. is_mainnet ( ) , reward_cycle_id ) ;
192
189
let rpc_socket = config
193
190
. node
194
191
. get_rpc_loopback ( )
You can’t perform that action at this time.
0 commit comments