File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -7358,12 +7358,12 @@ export class DriftClient {
73587358 const isDelegateSigner = takerInfo . signingAuthority . equals (
73597359 takerInfo . takerUserAccount . delegate
73607360 ) ;
7361-
7361+
73627362 const borshBuf = Buffer . from (
73637363 signedSignedMsgOrderParams . orderParams . toString ( ) ,
73647364 'hex'
73657365 ) ;
7366-
7366+
73677367 const signedMessage = this . decodeSignedMsgOrderParamsMessage (
73687368 borshBuf ,
73697369 isDelegateSigner
@@ -7373,7 +7373,11 @@ export class DriftClient {
73737373 userAccounts : [ takerInfo . takerUserAccount ] ,
73747374 useMarketLastSlotCache : false ,
73757375 readablePerpMarketIndex : marketIndex ,
7376- writableSpotMarketIndexes : signedMessage . isolatedPositionDeposit ?. gt ( new BN ( 0 ) ) ? [ QUOTE_SPOT_MARKET_INDEX ] : undefined ,
7376+ writableSpotMarketIndexes : signedMessage . isolatedPositionDeposit ?. gt (
7377+ new BN ( 0 )
7378+ )
7379+ ? [ QUOTE_SPOT_MARKET_INDEX ]
7380+ : undefined ,
73777381 } ) ;
73787382
73797383 if ( isUpdateHighLeverageMode ( signedMessage . signedMsgOrderParams . bitFlags ) ) {
You can’t perform that action at this time.
0 commit comments