fix another sfng bug

This commit is contained in:
2026-01-28 18:42:34 +08:00
parent 519b0ebb0b
commit fa1875996c

View File

@@ -72,12 +72,16 @@ func ParseTransactionForSubscribe(ctx context.Context, update *SubscribeUpdateTr
versioned, err := toVersionedTransaction(update)
if err != nil {
logger.Debug("txparser: failed to convert to versioned transaction", "error", err)
if done != nil {
close(done)
}
return
}
ParseTransaction(ctx, versioned, loader, parsed)
if done != nil {
close(done)
}
}
var VoteProgram = solana.MustPublicKeyFromBase58("Vote111111111111111111111111111111111111111")