diff options
author | Erichin <erichinbato@gmail.com> | 2018-05-07 16:32:51 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-05-07 16:32:51 +0800 |
commit | 5463ed99968bf71685a2a8ee9dbf8705912f00cb (patch) | |
tree | afcd9f68e0516ea31e9fc96165c12aa09638e042 /mobile | |
parent | d7be5c6619bc1794f79c72a97de5efa81e00bf12 (diff) | |
download | dexon-5463ed99968bf71685a2a8ee9dbf8705912f00cb.tar dexon-5463ed99968bf71685a2a8ee9dbf8705912f00cb.tar.gz dexon-5463ed99968bf71685a2a8ee9dbf8705912f00cb.tar.bz2 dexon-5463ed99968bf71685a2a8ee9dbf8705912f00cb.tar.lz dexon-5463ed99968bf71685a2a8ee9dbf8705912f00cb.tar.xz dexon-5463ed99968bf71685a2a8ee9dbf8705912f00cb.tar.zst dexon-5463ed99968bf71685a2a8ee9dbf8705912f00cb.zip |
mobile: add GetStatus Method for Receipt (#16598)
Diffstat (limited to 'mobile')
-rw-r--r-- | mobile/types.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile/types.go b/mobile/types.go index 196c7839f..f32b4918f 100644 --- a/mobile/types.go +++ b/mobile/types.go @@ -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} } |