Skip to content

Commit c20de3c

Browse files
authored
graphql: fix pre-byzantium receipt status (#24188)
Fixes #24124
1 parent 0169d57 commit c20de3c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

graphql/graphql.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,9 @@ func (t *Transaction) Status(ctx context.Context) (*Long, error) {
372372
if err != nil || receipt == nil {
373373
return nil, err
374374
}
375+
if len(receipt.PostState) != 0 {
376+
return nil, nil
377+
}
375378
ret := Long(receipt.Status)
376379
return &ret, nil
377380
}

0 commit comments

Comments
 (0)