Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ToniRamirezM committed Nov 4, 2024
1 parent e4b8934 commit 138178b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,17 @@ func CalculateAccInputHash(
}

v2 = keccak256.Hash(v2)
calculateAccInputHash := common.BytesToHash(keccak256.Hash(v1, v2, v3, v4, v5, v6))
calculatedAccInputHash := common.BytesToHash(keccak256.Hash(v1, v2, v3, v4, v5, v6))

logger.Debugf("OldAccInputHash: %v", oldAccInputHash)
logger.Debugf("BatchHashData: %v", common.Bytes2Hex(v2))
logger.Debugf("L1InfoRoot: %v", l1InfoRoot)
logger.Debugf("TimeStampLimit: %v", timestampLimit)
logger.Debugf("Sequencer Address: %v", sequencerAddr)
logger.Debugf("Forced BlockHashL1: %v", forcedBlockhashL1)
logger.Debugf("CalculatedAccInputHash: %v", calculateAccInputHash)
logger.Debugf("CalculatedAccInputHash: %v", calculatedAccInputHash)

return calculateAccInputHash
return calculatedAccInputHash
}

// NewKeyFromKeystore creates a private key from a keystore file
Expand Down

0 comments on commit 138178b

Please sign in to comment.