mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
revert stack
This commit is contained in:
parent
ed90dfb61a
commit
f014e5792f
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ func (s *StructLog) toLegacyJSON() json.RawMessage {
|
||||||
Error: s.ErrorString(),
|
Error: s.ErrorString(),
|
||||||
RefundCounter: s.RefundCounter,
|
RefundCounter: s.RefundCounter,
|
||||||
}
|
}
|
||||||
if len(s.Stack) > 0 {
|
if s.Stack != nil {
|
||||||
stack := make([]string, len(s.Stack))
|
stack := make([]string, len(s.Stack))
|
||||||
for i, stackValue := range s.Stack {
|
for i, stackValue := range s.Stack {
|
||||||
stack[i] = stackValue.Hex()
|
stack[i] = stackValue.Hex()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue