aboutsummaryrefslogtreecommitdiffstats
path: root/eth/api_backend.go
diff options
context:
space:
mode:
authorwilliambannas <wrschwartz@wpi.edu>2018-06-14 18:14:52 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-06-14 18:14:52 +0800
commit9402f965977620de0dcd968ad6943f66a80bcc5d (patch)
treeb3c6fc4a3aed4299117ff1e0aa83a84eff17cc70 /eth/api_backend.go
parentd0fd8d6fc29ec859650adf30718e2b06786e854f (diff)
downloadgo-tangerine-9402f965977620de0dcd968ad6943f66a80bcc5d.tar
go-tangerine-9402f965977620de0dcd968ad6943f66a80bcc5d.tar.gz
go-tangerine-9402f965977620de0dcd968ad6943f66a80bcc5d.tar.bz2
go-tangerine-9402f965977620de0dcd968ad6943f66a80bcc5d.tar.lz
go-tangerine-9402f965977620de0dcd968ad6943f66a80bcc5d.tar.xz
go-tangerine-9402f965977620de0dcd968ad6943f66a80bcc5d.tar.zst
go-tangerine-9402f965977620de0dcd968ad6943f66a80bcc5d.zip
eth: conform better to the golint standards (#16783)
* eth: made changes to conform better to the golint standards * eth: fix comment nit
Diffstat (limited to 'eth/api_backend.go')
-rw-r--r--eth/api_backend.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/eth/api_backend.go b/eth/api_backend.go
index 91a7dc7e0..016087dfe 100644
--- a/eth/api_backend.go
+++ b/eth/api_backend.go
@@ -43,6 +43,7 @@ type EthAPIBackend struct {
gpo *gasprice.Oracle
}
+// ChainConfig returns the active chain configuration.
func (b *EthAPIBackend) ChainConfig() *params.ChainConfig {
return b.eth.chainConfig
}