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.
1 parent 27a6da4 commit b4bf502Copy full SHA for b4bf502
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