Skip to content

Commit d3dbc64

Browse files
authored
remove redundant account in getPlaceAndMakePerpOrderIx (#1923)
* remove redundant account in getPlaceAndMakePerpOrderIx * update idl
1 parent a1719bb commit d3dbc64

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

sdk/src/driftClient.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6807,15 +6807,6 @@ export class DriftClient {
68076807
});
68086808
}
68096809

6810-
remainingAccounts.push({
6811-
pubkey: getRevenueShareEscrowAccountPublicKey(
6812-
this.program.programId,
6813-
takerInfo.takerUserAccount.authority
6814-
),
6815-
isWritable: true,
6816-
isSigner: false,
6817-
});
6818-
68196810
const takerOrderId = takerInfo.order.orderId;
68206811
if (hasBuilder(takerInfo.order)) {
68216812
remainingAccounts.push({

sdk/src/idl/drift.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14031,6 +14031,20 @@
1403114031
"option": "u64"
1403214032
},
1403314033
"index": false
14034+
},
14035+
{
14036+
"name": "builderIdx",
14037+
"type": {
14038+
"option": "u8"
14039+
},
14040+
"index": false
14041+
},
14042+
{
14043+
"name": "builderFee",
14044+
"type": {
14045+
"option": "u64"
14046+
},
14047+
"index": false
1403414048
}
1403514049
]
1403614050
},
@@ -16700,4 +16714,4 @@
1670016714
"metadata": {
1670116715
"address": "dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH"
1670216716
}
16703-
}
16717+
}

0 commit comments

Comments
 (0)