mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-12 01:41:36 +00:00
core/state: fix setError in BAL ST
This commit is contained in:
parent
6cc0be1e93
commit
68d390d518
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ func (s *BALStateTransition) Error() error {
|
|||
}
|
||||
|
||||
func (s *BALStateTransition) setError(err error) {
|
||||
if s.err != nil {
|
||||
if s.err == nil {
|
||||
s.err = err
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue