Skip to content

Commit 54af3ae

Browse files
committed
rm: unneeded undefined check on swift maxMarginRation
1 parent ef5ed00 commit 54af3ae

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sdk/src/driftClient.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6567,9 +6567,6 @@ export class DriftClient {
65676567
| SignedMsgOrderParamsDelegateMessage,
65686568
delegateSigner?: boolean
65696569
): Buffer {
6570-
if (orderParamsMessage.maxMarginRatio === undefined) {
6571-
orderParamsMessage.maxMarginRatio = null;
6572-
}
65736570
const anchorIxName = delegateSigner
65746571
? 'global' + ':' + 'SignedMsgOrderParamsDelegateMessage'
65756572
: 'global' + ':' + 'SignedMsgOrderParamsMessage';

0 commit comments

Comments
 (0)