Skip to content

Commit 5463ed9

Browse files
erichinkaralabe
authored andcommitted
mobile: add GetStatus Method for Receipt (#16598)
1 parent d7be5c6 commit 5463ed9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎mobile/types.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ func (r *Receipt) EncodeJSON() (string, error) {
329329
return string(data), err
330330
}
331331

332+
func (r *Receipt) GetStatus() int { return int(r.receipt.Status) }
332333
func (r *Receipt) GetPostState() []byte { return r.receipt.PostState }
333334
func (r *Receipt) GetCumulativeGasUsed() int64 { return int64(r.receipt.CumulativeGasUsed) }
334335
func (r *Receipt) GetBloom() *Bloom { return &Bloom{r.receipt.Bloom} }

0 commit comments

Comments
 (0)