Skip to content

Commit

Permalink
add GetStatus method in Receipt
Browse files Browse the repository at this point in the history
  • Loading branch information
Erichin committed Apr 4, 2018
1 parent f50cd95 commit 7702989
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/pod.podspec
Original file line number Diff line number Diff line change
@@ -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' }
Expand Down
1 change: 1 addition & 0 deletions mobile/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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} }
Expand Down

0 comments on commit 7702989

Please sign in to comment.