File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -234,10 +234,17 @@ impl SignerTrait<SignerMessage> for Signer {
234
234
) ;
235
235
// try and gather signatures
236
236
for message in messages {
237
- let SignerMessage :: BlockResponse ( block_response) = message else {
238
- continue ;
239
- } ;
240
- self . handle_block_response ( stacks_client, block_response, sortition_state) ;
237
+ match message {
238
+ SignerMessage :: BlockResponse ( block_response) => self . handle_block_response (
239
+ stacks_client,
240
+ block_response,
241
+ sortition_state,
242
+ ) ,
243
+ SignerMessage :: StateMachineUpdate ( _update) => {
244
+ // TODO: should make note of this update view point to determine if there is an agreed upon global state
245
+ }
246
+ _ => { }
247
+ }
241
248
}
242
249
}
243
250
SignerEvent :: MinerMessages ( messages) => {
@@ -300,9 +307,6 @@ impl SignerTrait<SignerMessage> for Signer {
300
307
self . mock_sign ( mock_proposal. clone ( ) ) ;
301
308
}
302
309
}
303
- SignerMessage :: StateMachineUpdate ( _update) => {
304
- // TODO: should make note of this update view point to determine if there is an agreed upon global state
305
- }
306
310
_ => { }
307
311
}
308
312
}
You can’t perform that action at this time.
0 commit comments