We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 27a6da4 + b4bf502 commit 7632745Copy full SHA for 7632745
protocol/txsubmission/server.go
@@ -135,7 +135,7 @@ func (s *Server) handleDone() error {
135
}
136
137
func (s *Server) handleInit() error {
138
- if s.config.InitFunc == nil {
+ if s.config == nil || s.config.InitFunc == nil {
139
return fmt.Errorf(
140
"received tx-submission Init message but no callback function is defined",
141
)
0 commit comments