Skip to content

Commit 9449a2a

Browse files
committed
ensure withdraw function forwards params for bybit multi-account support
1 parent b912e1d commit 9449a2a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/server.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,10 @@ export function getServer(
661661
transferValue.amount,
662662
transferValue.recipientAddress,
663663
undefined,
664-
{ network: transferValue.chain },
664+
{
665+
...(transferValue.params ?? {}),
666+
network: transferValue.chain,
667+
},
665668
);
666669
log.info(`Withdraw Result: ${JSON.stringify(transaction)}`);
667670

0 commit comments

Comments
 (0)