Skip to content

Commit

Permalink
Update cairo.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawliet-Chan authored Aug 20, 2024
1 parent 771609b commit b898118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cairo/cairo.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (c *Cairo) FinalizeBlock(block *Block) {
// cairoState.UpdateStarknetOsOutput(snOsOutput)
fmt.Printf("snOsOutput:\n%+v\n", snOsOutput)

// 新旧状态根对比
// compare new and old state-root
if snOsOutput.PrevStateRoot.String() != snOsOutput.NewStateRoot.String() {
// send snOsOutput to L1 chain
c.ethCallUpdateState(c.cairoState, snOsOutput)
Expand Down

0 comments on commit b898118

Please sign in to comment.