Skip to content

Commit

Permalink
Merge pull request #1 from songchenwen/patch-1
Browse files Browse the repository at this point in the history
Fix Token Accounts
  • Loading branch information
imerkle authored Jul 17, 2021
2 parents 20d3ec4 + aef7445 commit 7b6fd8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/get_token_accounts_by_owner.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (s *Client) GetTokenAccountsByOwner(ctx context.Context, account string) ([
} `json:"result"`
}{}
params := []interface{}{account,
map[string]interface{}{"programId": common.TokenProgramID},
map[string]interface{}{"programId": common.TokenProgramID.ToBase58()},
map[string]interface{}{
"encoding": "jsonParsed",
}}
Expand Down

0 comments on commit 7b6fd8a

Please sign in to comment.