We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcdb240 commit 13302cbCopy full SHA for 13302cb
1 file changed
pkg/code/server/grpc/transaction/v2/swap.go
@@ -451,7 +451,7 @@ func (s *transactionServer) validateSwap(
451
return newSwapValidationError("expected two compute budget instructions")
452
}
453
454
- if len(ixns.SetupInstructions) != 0 || ixns.TokenLedgerInstruction != nil || ixns.CleanupInstruction != nil {
+ if ixns.TokenLedgerInstruction != nil || ixns.CleanupInstruction != nil {
455
return newSwapValidationError("unexpected instruction")
456
457
0 commit comments