fix settlerOwner in perpSettlePnl

This commit is contained in:
tjs 2022-12-07 23:50:37 -05:00
parent 660a733a95
commit e9bcd0209a
1 changed files with 2 additions and 1 deletions

View File

@ -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(