Skip to content

Commit 7702989

Browse files
author
Erichin
committed
add GetStatus method in Receipt
1 parent f50cd95 commit 7702989

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build/pod.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |spec|
22
spec.name = 'Geth'
3-
spec.version = '1.8.1'
3+
spec.version = '1.8.2'
44
spec.license = { :type => 'GNU Lesser General Public License, Version 3.0' }
55
spec.homepage = 'https://github.com/ethereum/go-ethereum'
66
spec.authors = { 'erichin' => '[email protected]' }

mobile/types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ func (r *Receipt) String() string {
353353
return r.receipt.String()
354354
}
355355

356+
func (r *Receipt) GetStatus() uint { return r.receipt.Status }
356357
func (r *Receipt) GetPostState() []byte { return r.receipt.PostState }
357358
func (r *Receipt) GetCumulativeGasUsed() int64 { return int64(r.receipt.CumulativeGasUsed) }
358359
func (r *Receipt) GetBloom() *Bloom { return &Bloom{r.receipt.Bloom} }

0 commit comments

Comments
 (0)