mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-14 20:16:36 +00:00
mobile: add GetStatus Method for Receipt (#16598)
This commit is contained in:
parent
d7be5c6619
commit
5463ed9996
1 changed files with 1 additions and 0 deletions
|
|
@ -329,6 +329,7 @@ func (r *Receipt) EncodeJSON() (string, error) {
|
||||||
return string(data), err
|
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) GetPostState() []byte { return r.receipt.PostState }
|
||||||
func (r *Receipt) GetCumulativeGasUsed() int64 { return int64(r.receipt.CumulativeGasUsed) }
|
func (r *Receipt) GetCumulativeGasUsed() int64 { return int64(r.receipt.CumulativeGasUsed) }
|
||||||
func (r *Receipt) GetBloom() *Bloom { return &Bloom{r.receipt.Bloom} }
|
func (r *Receipt) GetBloom() *Bloom { return &Bloom{r.receipt.Bloom} }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue