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 16888c8 commit 50799ffCopy full SHA for 50799ff
internal/utxorpc/submit.go
@@ -43,6 +43,9 @@ func (s *submitServiceServer) SubmitTx(
43
) (*connect.Response[submit.SubmitTxResponse], error) {
44
// txRaw
45
txRaw := req.Msg.GetTx() // *AnyChainTx
46
+ if txRaw == nil {
47
+ return nil, errors.New("transaction is required")
48
+ }
49
log.Printf("Got a SubmitTx request with 1 transaction")
50
resp := &submit.SubmitTxResponse{}
51
0 commit comments