Skip to content

Commit 2aa77c6

Browse files
committed
Pass the owner account to testForKnownUserAuthorityFromDepositPda
1 parent 4a9ee47 commit 2aa77c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/code/async/geyser/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func (h *TokenProgramAccountHandler) Handle(ctx context.Context, update *geyserp
9090
return nil
9191
}
9292

93-
exists, userAuthorityAccount, err := testForKnownUserAuthorityFromDepositPda(ctx, h.data, tokenAccount)
93+
exists, userAuthorityAccount, err := testForKnownUserAuthorityFromDepositPda(ctx, h.data, ownerAccount)
9494
if err != nil {
9595
return errors.Wrap(err, "error testing for user authority from deposit pda")
9696
} else if !exists {

0 commit comments

Comments
 (0)