mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-16 13:06:40 +00:00
parent
0169d579d0
commit
c20de3c4bd
1 changed files with 3 additions and 0 deletions
|
|
@ -372,6 +372,9 @@ func (t *Transaction) Status(ctx context.Context) (*Long, error) {
|
||||||
if err != nil || receipt == nil {
|
if err != nil || receipt == nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
if len(receipt.PostState) != 0 {
|
||||||
|
return nil, nil
|
||||||
|
}
|
||||||
ret := Long(receipt.Status)
|
ret := Long(receipt.Status)
|
||||||
return &ret, nil
|
return &ret, nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue