fix settlerOwner in perpSettlePnl
This commit is contained in:
parent
660a733a95
commit
e9bcd0209a
|
@ -1797,7 +1797,8 @@ export class MangoClient {
|
||||||
settleOracle: bank.oracle,
|
settleOracle: bank.oracle,
|
||||||
settleBank: bank.publicKey,
|
settleBank: bank.publicKey,
|
||||||
settler: settler.publicKey,
|
settler: settler.publicKey,
|
||||||
settlerOwner: this.program.provider.publicKey,
|
settlerOwner: (this.program.provider as AnchorProvider).wallet
|
||||||
|
.publicKey,
|
||||||
})
|
})
|
||||||
.remainingAccounts(
|
.remainingAccounts(
|
||||||
healthRemainingAccounts.map(
|
healthRemainingAccounts.map(
|
||||||
|
|
Loading…
Reference in New Issue