Skip to content

Commit

Permalink
mobile: add GetStatus Method for Receipt (ethereum#16598)
Browse files Browse the repository at this point in the history
  • Loading branch information
erichin authored and karalabe committed May 7, 2018
1 parent d7be5c6 commit 5463ed9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mobile/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ func (r *Receipt) EncodeJSON() (string, error) {
return string(data), err
}

func (r *Receipt) GetStatus() int { return int(r.receipt.Status) }
func (r *Receipt) GetPostState() []byte { return r.receipt.PostState }
func (r *Receipt) GetCumulativeGasUsed() int64 { return int64(r.receipt.CumulativeGasUsed) }
func (r *Receipt) GetBloom() *Bloom { return &Bloom{r.receipt.Bloom} }
Expand Down

0 comments on commit 5463ed9

Please sign in to comment.