Skip to content

Commit

Permalink
fix BlockValidator
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejka committed Aug 1, 2024
1 parent bf58b29 commit 1d7b6c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ pub struct ChainState {
}

trait BlockValidator {
fn validate_and_apply(block: Block) -> Result<ChainState, ByteArray>;
fn validate_and_apply(self: ChainState, block: Block) -> Result<ChainState, ByteArray>;
}

0 comments on commit 1d7b6c5

Please sign in to comment.