Open WuWhite opened 2 years ago
I have another problem with this method, seems like it doesnt work
TypeError: Cannot read property 'replace' of undefined
at stripHexPrefix (/Users/denis/Desktop/dydx/node_modules/@dydxprotocol/starkex-lib/build/src/lib/util.js:109:29)
at Object.hexToBn (/Users/denis/Desktop/dydx/node_modules/@dydxprotocol/starkex-lib/build/src/lib/util.js:66:32)
at SignableConditionalTransfer.calculateHash (/Users/denis/Desktop/dydx/node_modules/@dydxprotocol/starkex-lib/build/src/signable/conditional-transfer.js:42:44)
at SignableConditionalTransfer.getHashBN (/Users/denis/Desktop/dydx/node_modules/@dydxprotocol/starkex-lib/build/src/signable/stark-signable.js:29:39)
at SignableConditionalTransfer.sign (/Users/denis/Desktop/dydx/node_modules/@dydxprotocol/starkex-lib/build/src/signable/stark-signable.js:37:35)
at Private.createFastWithdrawal (/Users/denis/Desktop/dydx/node_modules/@dydxprotocol/v3-client/build/src/modules/private.js:361:56)
Realized that lpPositionId needs to be always 2 ... Don't ask me why.
Got stuck, however with "Invalid signature for fast withdrawal" by calling fast withdrawal
Any idea on that?
Any update on resolution for "Invalid signature for fast withdrawal"? Thanks!
it Always reminding me of 'Invalid LP position id', when i wanna createFastWithdrawal Does anyone have a similar problem?