Skip to content

Commit ca5ab06

Browse files
committed
chore: fix compile error
1 parent a3640b4 commit ca5ab06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stackslib/src/chainstate/nakamoto/shadow.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ impl NakamotoChainState {
266266
mainnet: bool,
267267
chain_id: u32,
268268
) -> Result<(), ChainstateError> {
269-
if !self.is_shadow_block() {
269+
if !block.is_shadow_block() {
270270
error!(
271271
"FATAL: tried to validate non-shadow block in a shadow-block-specific validator"
272272
);

0 commit comments

Comments
 (0)