aboutsummaryrefslogtreecommitdiff
path: root/coreth.go
diff options
context:
space:
mode:
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 a972175..03f9adf 100644
--- a/coreth.go
+++ b/coreth.go
@@ -110,6 +110,10 @@ func (self *ETHChain) GetReceiptsByHash(hash common.Hash) types.Receipts {
return self.backend.BlockChain().GetReceiptsByHash(hash)
}
+func (self *ETHChain) GetGenesisBlock() *types.Block {
+ return self.backend.BlockChain().Genesis()
+}
+
type Key struct {
Address common.Address
PrivateKey *ecdsa.PrivateKey