Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
[PI-139]: Fix the API call function
Browse files Browse the repository at this point in the history
  • Loading branch information
arijoon committed Aug 3, 2023
1 parent b4b8835 commit c06972e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/api/storeStarkL1Registration.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
* nonce: string,
* signature: string) => string}
*/
module.exports = async (dvf, tradingKey, nonce, signature) => {
module.exports = async (dvf, nonce, signature) => {
const url = '/v1/trading/storeStarkL1Registration'

const { ethAddress } = await dvf.getUserConfig()

const l1RegistrationSignature = await dvf.stark.signRegistration(
tradingKey,
ethAddress
)

Expand Down

0 comments on commit c06972e

Please sign in to comment.