Commit 5463ed99 authored by Erichin's avatar Erichin Committed by Péter Szilágyi

mobile: add GetStatus Method for Receipt (#16598)

parent d7be5c66
......@@ -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} }
......
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