Unverified Commit c20de3c4 authored by Sina Mahmoodi's avatar Sina Mahmoodi Committed by GitHub

graphql: fix pre-byzantium receipt status (#24188)

Fixes #24124
parent 0169d579
......@@ -372,6 +372,9 @@ func (t *Transaction) Status(ctx context.Context) (*Long, error) {
if err != nil || receipt == nil {
return nil, err
}
if len(receipt.PostState) != 0 {
return nil, nil
}
ret := Long(receipt.Status)
return &ret, nil
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment