diff --git a/plugin/evm/message/handshake/upgrade_config.go b/plugin/evm/message/handshake/upgrade_config.go index 39489b05cf..24971f2c83 100644 --- a/plugin/evm/message/handshake/upgrade_config.go +++ b/plugin/evm/message/handshake/upgrade_config.go @@ -111,6 +111,9 @@ func (r *UpgradeConfig) Bytes() []byte { return r.bytes } -func (r *UpgradeConfig) Hash() [32]byte { - return sha256.Sum256(r.bytes) +func (r *UpgradeConfig) Hash() [8]byte { + hash := sha256.Sum256(r.bytes) + var firstBytes [8]byte + copy(firstBytes[:], hash[:8]) + return firstBytes }