revert stack
This commit is contained in:
parent
ed90dfb61a
commit
f014e5792f
|
@ -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 New Issue