Skip to content

Commit e2be168

Browse files
author
jeffyanta
authored
Fix Geyser crash when inspecting USDC account (#42)
1 parent 5677192 commit e2be168

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/code/async/geyser/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func (h *TokenProgramAccountHandler) Handle(ctx context.Context, update *geyserp
125125
}
126126

127127
// Not an ATA, so filter it out
128-
if !bytes.Equal(tokenAccount.PublicKey().ToBytes(), ata.PrivateKey().ToBytes()) {
128+
if !bytes.Equal(tokenAccount.PublicKey().ToBytes(), ata.PublicKey().ToBytes()) {
129129
return nil
130130
}
131131

0 commit comments

Comments
 (0)