mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
add GetStatus method in Receipt
This commit is contained in:
parent
f50cd95ec6
commit
7702989279
2 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
Pod::Spec.new do |spec|
|
Pod::Spec.new do |spec|
|
||||||
spec.name = 'Geth'
|
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.license = { :type => 'GNU Lesser General Public License, Version 3.0' }
|
||||||
spec.homepage = 'https://github.com/ethereum/go-ethereum'
|
spec.homepage = 'https://github.com/ethereum/go-ethereum'
|
||||||
spec.authors = { 'erichin' => 'erichinbato@gmail.com' }
|
spec.authors = { 'erichin' => 'erichinbato@gmail.com' }
|
||||||
|
|
|
||||||
|
|
@ -353,6 +353,7 @@ func (r *Receipt) String() string {
|
||||||
return r.receipt.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) 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