Skip to content

Commit be9134e

Browse files
committed
rid of Sprint
1 parent e25a5d3 commit be9134e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

multinode/send_only_node.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"context"
55
"fmt"
66
"net/url"
7+
"strconv"
78
"sync"
89

910
"github.com/smartcontractkit/chainlink-common/pkg/logger"
@@ -108,7 +109,8 @@ func (s *sendOnlyNode[CHAIN_ID, RPC]) start() {
108109
}
109110
s.setState(nodeStateDialed)
110111

111-
if s.chainID.String() == fmt.Sprint(NullClientChainID) {
112+
nullID := strconv.Itoa(NullClientChainID)
113+
if s.chainID.String() == nullID {
112114
// Skip verification if chainID is zero
113115
s.log.Warn("sendonly rpc ChainID verification skipped")
114116
} else {

0 commit comments

Comments
 (0)