Open marcosc90 opened 6 years ago
Same here:
const monero = require('monero-nodejs-libwallet');
monero.setupLog(4, 'wallet.log');
const path = require('path');
monero.createWallet({
'path': path.join(__dirname, 'test-wallet'),
'password': '123',
'network': 'mainnet',
'daemonAddress': 'localhost:18082',
}).then((wallet) => console.log('New wallet succesfully created: ' + wallet.address()))
.catch((e) => console.log('Failed to create new wallet: ' + e));
Result:
Segmentation Fault (core dumped)
wallet.log (say nothing):
2019-01-26 01:01:59.347 7f23c8a74b80 INFO logging contrib/epee/src/mlog.cpp:186 New log categories: *:WARNING,net:FATAL,net.p2p:FATAL,net.cn:FATAL,global:INFO,verify:FATAL,stacktrace:INFO,logging:INFO,msgwriter:INFO
2019-01-26 01:01:59.347 7f23c8a74b80 INFO logging contrib/epee/src/mlog.cpp:186 New log categories: *:TRACE
node v8.10.0 Ubuntu 18.04.1 LTS
Thanks for the feedback. We haven't updated the lib to work with latest monero hardfork.
When I try to create a wallet I get the following error:
This is the code that triggers it:
I tested this on:
Node.js:
v10.10.0
,v10.7.0
&v8.11.4
on Ubuntu 16.04 & Ubuntu 18.04