Nexusoft / Legacy

Nexus - Advancing Distributed Technologies
MIT License
2 stars 0 forks source link

signmessage fails with error in console and crashes nexus-qt #79

Closed gruvin closed 5 years ago

gruvin commented 6 years ago

Nexus-qt v0.2.4.6, compiled from source under Ubuntu 16.04.

$ uname -a
Linux ****** 4.4.0-127-generic #153-Ubuntu SMP Sat May 19 10:58:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Using the Nexus-qt debug console ...

> signmessage 2RuxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxG "It's really me!"
CKey::SignCompact() : unable to construct recoverable key (code -1)

The same process using the GUI window from File | Sign Message hard crashes Nexus-qt, as in "... unable to continue safely."

> getinfo
{
"version" : "0.2.4.6 [LLD][x64]",
"protocolversion" : 10100,
"walletversion" : 10000,
"balance" : nn.nnnnnnn,
"newmint" : 0.00000000,
"stake" : 0.00000000,
"interestweight" : 0.50000000,
"stakeweight" : 24.31787784,
"trustweight" : 52.10973823,
"blockweight" : 0.00000000,
"txtotal" : 67,
"blocks" : 2093798,
"timestamp" : 1531543328,
"connections" : 16,
"proxy" : "",
"ip" : "xxx.xxx.xxx.xxx",
"testnet" : false,
"keypoololdest" : 1518990519,
"keypoolsize" : 101,
"paytxfee" : 0.01000000,
"unlocked_until" : 1531535413,
"errors" : ""
}
VidereLicet commented 5 years ago

This was resolved in 2.5.0 +