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 @@ -7058,12 +7058,12 @@ export class DriftClient {
70587058 const isDelegateSigner = takerInfo . signingAuthority . equals (
70597059 takerInfo . takerUserAccount . delegate
70607060 ) ;
7061-
7061+
70627062 const borshBuf = Buffer . from (
70637063 signedSignedMsgOrderParams . orderParams . toString ( ) ,
70647064 'hex'
70657065 ) ;
7066-
7066+
70677067 const signedMessage = this . decodeSignedMsgOrderParamsMessage (
70687068 borshBuf ,
70697069 isDelegateSigner
@@ -7073,7 +7073,11 @@ export class DriftClient {
70737073 userAccounts : [ takerInfo . takerUserAccount ] ,
70747074 useMarketLastSlotCache : false ,
70757075 readablePerpMarketIndex : marketIndex ,
7076- writableSpotMarketIndexes : signedMessage . isolatedPositionDeposit ?. gt ( new BN ( 0 ) ) ? [ QUOTE_SPOT_MARKET_INDEX ] : undefined ,
7076+ writableSpotMarketIndexes : signedMessage . isolatedPositionDeposit ?. gt (
7077+ new BN ( 0 )
7078+ )
7079+ ? [ QUOTE_SPOT_MARKET_INDEX ]
7080+ : undefined ,
70777081 } ) ;
70787082
70797083 if ( isUpdateHighLeverageMode ( signedMessage . signedMsgOrderParams . bitFlags ) ) {
You can’t perform that action at this time.
0 commit comments