File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -7827,7 +7827,8 @@ export class DriftClient {
78277827 settleeUserAccountPublicKey : PublicKey ;
78287828 settleeUserAccount : UserAccount ;
78297829 } [ ] ,
7830- marketIndexes : number [ ]
7830+ marketIndexes : number [ ] ,
7831+ revenueShareEscrowMap ?: RevenueShareEscrowMap
78317832 ) : Promise < Array < TransactionInstruction > > {
78327833 const ixs = [ ] ;
78337834 for ( const { settleeUserAccountPublicKey, settleeUserAccount } of users ) {
@@ -7836,7 +7837,8 @@ export class DriftClient {
78367837 await this . settlePNLIx (
78377838 settleeUserAccountPublicKey ,
78387839 settleeUserAccount ,
7839- marketIndex
7840+ marketIndex ,
7841+ revenueShareEscrowMap
78407842 )
78417843 ) ;
78427844 }
@@ -7851,7 +7853,7 @@ export class DriftClient {
78517853 marketIndex : number ,
78527854 txParams ?: TxParams ,
78537855 optionalIxs ?: TransactionInstruction [ ] ,
7854- escrowMap ?: RevenueShareEscrowMap
7856+ revenueShareEscrowMap ?: RevenueShareEscrowMap
78557857 ) : Promise < TransactionSignature > {
78567858 const lookupTableAccounts = await this . fetchAllLookupTableAccounts ( ) ;
78577859
@@ -7861,7 +7863,7 @@ export class DriftClient {
78617863 settleeUserAccountPublicKey ,
78627864 settleeUserAccount ,
78637865 marketIndex ,
7864- escrowMap
7866+ revenueShareEscrowMap
78657867 ) ,
78667868 txParams ,
78677869 undefined ,
You can’t perform that action at this time.
0 commit comments