aboutsummaryrefslogtreecommitdiff
path: root/coreth.go
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-08-30 08:02:51 -0400
committerDeterminant <[email protected]>2019-08-30 08:02:51 -0400
commitbf3776a5d5475f9ee35820099debfc49d71ea10c (patch)
tree530e8a2f804f8942d676c1a9362a1fcea612a692 /coreth.go
parent8c4e5b732d9584ecf9e77a4d93a987adb333d61a (diff)
...
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