fix settlerOwner in perpSettlePnl
This commit is contained in:
parent
660a733a95
commit
e9bcd0209a
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue