aboutsummaryrefslogtreecommitdiff
path: root/coreth.go
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-08-15 18:49:42 -0400
committerDeterminant <[email protected]>2019-08-15 18:49:42 -0400
commitff58d84f81d584646ca3f8fe00493cdcec8239ed (patch)
tree4b061596cc4c66c814e013aa91e74a27d9d0a9eb /coreth.go
parent669168d32a534c1054f9df659b3199f7b6da0d21 (diff)
add smart contract example
Diffstat (limited to 'coreth.go')
-rw-r--r--coreth.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/coreth.go b/coreth.go
index 84a6b59..a164452 100644
--- a/coreth.go
+++ b/coreth.go
@@ -106,6 +106,10 @@ func (self *ETHChain) SetHead(hash common.Hash) error {
return self.backend.BlockChain().FastSyncCommitHead(hash)
}
+func (self *ETHChain) GetReceiptsByHash(hash common.Hash) types.Receipts {
+ return self.backend.BlockChain().GetReceiptsByHash(hash)
+}
+
type Key struct {
Address common.Address
PrivateKey *ecdsa.PrivateKey