diff options
author | Determinant <[email protected]> | 2019-08-30 08:02:51 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-08-30 08:02:51 -0400 |
commit | bf3776a5d5475f9ee35820099debfc49d71ea10c (patch) | |
tree | 530e8a2f804f8942d676c1a9362a1fcea612a692 /coreth.go | |
parent | 8c4e5b732d9584ecf9e77a4d93a987adb333d61a (diff) |
...
Diffstat (limited to 'coreth.go')
-rw-r--r-- | coreth.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |