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 firmianavan committed Aug 28, 2018
1 parent f0de769 commit 1650296
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 1650296

Please sign in to comment.