diff --git a/ts/client/src/client.ts b/ts/client/src/client.ts index e3b09098f..d59a2c698 100644 --- a/ts/client/src/client.ts +++ b/ts/client/src/client.ts @@ -1797,7 +1797,8 @@ export class MangoClient { settleOracle: bank.oracle, settleBank: bank.publicKey, settler: settler.publicKey, - settlerOwner: this.program.provider.publicKey, + settlerOwner: (this.program.provider as AnchorProvider).wallet + .publicKey, }) .remainingAccounts( healthRemainingAccounts.map(