fix: 🐛 Remove url from generate_from_keys call
parent
bf05d69bc4
commit
c96737fc90
2
main.js
2
main.js
|
@ -14,9 +14,9 @@ module.exports = class Wallet {
|
|||
} catch (openErr) {
|
||||
|
||||
// Create wallet
|
||||
delete settings.url
|
||||
if (settings.spendKey===undefined)
|
||||
delete settings.spendKey
|
||||
console.log(settings)
|
||||
try {
|
||||
await this.rpc('generate_from_keys', settings)
|
||||
} catch (createErr) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "monero-wallet-rpc-js",
|
||||
"type": "commonjs",
|
||||
"version": "1.2.16",
|
||||
"version": "1.2.17",
|
||||
"description": "Javascript wrapper for monero-wallet-rpc calls",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in New Issue