From 7702989279796e5aff834854251ba473226853fe Mon Sep 17 00:00:00 2001 From: Erichin Date: Wed, 4 Apr 2018 12:20:54 +0900 Subject: [PATCH] add GetStatus method in Receipt --- build/pod.podspec | 2 +- mobile/types.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build/pod.podspec b/build/pod.podspec index 9ca9de76619f..50f67838d13a 100644 --- a/build/pod.podspec +++ b/build/pod.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = 'Geth' - spec.version = '1.8.1' + spec.version = '1.8.2' spec.license = { :type => 'GNU Lesser General Public License, Version 3.0' } spec.homepage = 'https://github.com/ethereum/go-ethereum' spec.authors = { 'erichin' => 'erichinbato@gmail.com' } diff --git a/mobile/types.go b/mobile/types.go index 4790afceff6e..7ead2680a8ec 100644 --- a/mobile/types.go +++ b/mobile/types.go @@ -353,6 +353,7 @@ func (r *Receipt) String() string { return r.receipt.String() } +func (r *Receipt) GetStatus() uint { return 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} }