We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be9f6b2 commit a3a6471Copy full SHA for a3a6471
plugin/evm/message/handshake/upgrade_config.go
@@ -111,6 +111,9 @@ func (r *UpgradeConfig) Bytes() []byte {
111
return r.bytes
112
}
113
114
-func (r *UpgradeConfig) Hash() [32]byte {
115
- return sha256.Sum256(r.bytes)
+func (r *UpgradeConfig) Hash() [8]byte {
+ hash := sha256.Sum256(r.bytes)
116
+ var firstBytes [8]byte
117
+ copy(firstBytes[:], hash[:8])
118
+ return firstBytes
119
0 commit comments