diff options
author | Determinant <[email protected]> | 2019-08-15 18:49:42 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-08-15 18:49:42 -0400 |
commit | ff58d84f81d584646ca3f8fe00493cdcec8239ed (patch) | |
tree | 4b061596cc4c66c814e013aa91e74a27d9d0a9eb /coreth.go | |
parent | 669168d32a534c1054f9df659b3199f7b6da0d21 (diff) |
add smart contract example
Diffstat (limited to 'coreth.go')
-rw-r--r-- | coreth.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |