Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rhino.fi/client-js",
"version": "5.2.0",
"version": "5.2.1",
"main": "src/index.js",
"files": [
"src",
Expand Down
4 changes: 3 additions & 1 deletion src/api/storeStarkL1Registration.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
module.exports = async (dvf, nonce, signature) => {
const url = '/v1/trading/storeStarkL1Registration'

const { ethAddress } = await dvf.getUserConfig(nonce, signature)
// Explicitly fetch the config to get the user's registered address
// in the backend
const { ethAddress } = await dvf.getUserConfigFromServer(nonce, signature)

const l1RegistrationSignature = await dvf.stark.signRegistration(
ethAddress
Expand Down