default idsSource is get-program-accounts

This commit is contained in:
tjs 2022-12-08 17:23:07 -05:00
parent af6e10a1cd
commit 1c69d4edbb
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ export class MangoClient {
public cluster: Cluster,
public opts: MangoClientOptions = {},
) {
this.idsSource = opts?.idsSource || 'api';
this.idsSource = opts?.idsSource || 'get-program-accounts';
this.prioritizationFee = opts?.prioritizationFee || 0;
this.postSendTxCallback = opts?.postSendTxCallback;
// TODO: evil side effect, but limited backtraces are a nightmare