We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b103cec commit 0fc9509Copy full SHA for 0fc9509
stacks-signer/src/signerdb.rs
@@ -251,14 +251,14 @@ impl BlockInfo {
251
252
/// Mark the block as locally rejected and invalid
253
pub fn mark_locally_rejected(&mut self) -> Result<(), String> {
254
- self.move_to(BlockState::LocallyRejected);
+ self.move_to(BlockState::LocallyRejected)?;
255
self.valid = Some(false);
256
Ok(())
257
}
258
259
/// Mark the block as globally rejected and invalid
260
pub fn mark_globally_rejected(&mut self) -> Result<(), String> {
261
- self.move_to(BlockState::GloballyRejected);
+ self.move_to(BlockState::GloballyRejected)?;
262
263
264
0 commit comments