mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
Update states.go
This commit is contained in:
parent
ed5eb7f637
commit
ed6c577dcf
1 changed files with 4 additions and 4 deletions
|
|
@ -579,8 +579,8 @@ func (s *StateSetWithOrigin) decode(r *rlp.Stream) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func empty2nil(b []byte) []byte {
|
func empty2nil(b []byte) []byte {
|
||||||
if len(b) == 0 {
|
if len(b) == 0 {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue