File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
pkg/code/server/transaction Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ func (s *transactionServer) SubmitIntent(streamer transactionpb.Transaction_Subm
149149 log .WithError (err ).Warn ("failure getting user initiator owner account" )
150150 return handleSubmitIntentError (streamer , err )
151151 } else if err == account .ErrAccountInfoNotFound || accountInfoRecord .AccountType != commonpb .AccountType_PRIMARY {
152- return NewActionValidationError (submitActionsReq .Actions [0 ], "destination must be a primary account" )
152+ return handleSubmitIntentError ( streamer , NewActionValidationError (submitActionsReq .Actions [0 ], "destination must be a primary account" ) )
153153 }
154154
155155 initiatorOwnerAccount , err = common .NewAccountFromPublicKeyString (accountInfoRecord .OwnerAccount )
You can’t perform that action at this time.
0 commit comments