Update states.go

This commit is contained in:
Felix Lange 2025-06-26 17:11:45 +02:00 committed by GitHub
parent ed5eb7f637
commit ed6c577dcf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -579,8 +579,8 @@ func (s *StateSetWithOrigin) decode(r *rlp.Stream) error {
}
func empty2nil(b []byte) []byte {
if len(b) == 0 {
return nil
}
return b
if len(b) == 0 {
return nil
}
return b
}