rpc: use atomic types (#27214)

rpc: use atomic type
This commit is contained in:
s7v7nislands
2023-05-04 04:54:45 -04:00
committed by GitHub
parent dde2da0efb
commit ffda2c64c4
3 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ import (
)
type StdIOUI struct {
client rpc.Client
client *rpc.Client
}
func NewStdIOUI() *StdIOUI {
@@ -33,7 +33,7 @@ func NewStdIOUI() *StdIOUI {
if err != nil {
log.Crit("Could not create stdio client", "err", err)
}
ui := &StdIOUI{client: *client}
ui := &StdIOUI{client: client}
return ui
}