浏览代码

eth2_api -> public_eth2_api

skyfffire 2 年之前
父节点
当前提交
c10ac336f5
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      internal/ethapi/public_eth2_api.go

+ 3 - 3
internal/ethapi/public_eth2_api.go

@@ -1,9 +1,9 @@
 package ethapi
 
-type Ethereum2API struct {
+type PublicEthereum2API struct {
 	b Backend
 }
 
-func NewEthereum2API(b Backend) *Ethereum2API {
-	return &Ethereum2API{b}
+func NewEthereum2API(b Backend) *PublicEthereum2API {
+	return &PublicEthereum2API{b}
 }