Skip to content

Commit 7aeac5a

Browse files
nit: Add comment specifying encoding of addresses (#2036)
* add comment * Update packages/library-legacy/src/connection.ts Co-authored-by: Joe C <[email protected]> * Update connection.ts --------- Co-authored-by: Joe C <[email protected]>
1 parent 4c9a8b8 commit 7aeac5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/library-legacy/src/connection.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,8 +944,9 @@ export type SimulateTransactionConfig = {
944944
replaceRecentBlockhash?: boolean;
945945
/** Optional parameter used to set the commitment level when selecting the latest block */
946946
commitment?: Commitment;
947-
/** Optional parameter used to specify a list of account addresses to return post simulation state for */
947+
/** Optional parameter used to specify a list of base58-encoded account addresses to return post simulation state for */
948948
accounts?: {
949+
/** The encoding of the returned account's data */
949950
encoding: 'base64';
950951
addresses: string[];
951952
};

0 commit comments

Comments
 (0)