Skip to content

Commit

Permalink
wip correction for arthera unlock network
Browse files Browse the repository at this point in the history
  • Loading branch information
hichri-louay committed Apr 22, 2024
1 parent bc87fee commit f48cd78
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions web3/campaigns.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,16 @@ exports.unlockArthera = async (req, res) => {
[account.walletV2?.keystore],
pass
)

return {
address: '0x' + account.walletV2?.keystore.address,
Web3ARTHERA,
}
} catch (err) {
if (!!res && res.length > 0) {
res.status(500).send({
code: 500,
error: err.message ? err.message : err.error,
})
}
res.status(500).send({
code: 500,
error: err.message ? err.message : err.error,
})
}
}
//unlock networks
Expand Down

0 comments on commit f48cd78

Please sign in to comment.