Skip to content

Commit 9e1ccf8

Browse files
committed
add func SetDomain to global
1 parent f43deb3 commit 9e1ccf8

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

ethstore.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,14 @@ func GetDebugLevel() uint64 {
8383
return atomic.LoadUint64(&debugLevel)
8484
}
8585

86+
func SetDomain(domain string) {
87+
beaconchainApiClient.SetDomain(domain)
88+
}
89+
90+
func GetDomain() string {
91+
return beaconchainApiClient.GetDomain()
92+
}
93+
8694
func SetConsTimeout(dur time.Duration) {
8795
consTimeoutMu.Lock()
8896
defer consTimeoutMu.Unlock()

0 commit comments

Comments
 (0)