mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
wallet: fix up semi-cryptic wallet error message
There is evidence that this message can be confusing[1]. Suggest a way to resolve the error in the message. [1] https://www.reddit.com/r/Bitcoin/comments/7ybcq9/programming_how_can_i_resolve_the_below_error/ Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
parent
f7dabd4fd8
commit
4a1b68502e
@ -1932,7 +1932,9 @@ bool wallet_network_check(struct wallet *w,
|
||||
if (!structeq(&chainhash, &chainparams->genesis_blockhash)) {
|
||||
log_broken(w->log, "Wallet blockchain hash does not "
|
||||
"match network blockchain hash: %s "
|
||||
"!= %s",
|
||||
"!= %s. "
|
||||
"Are you on the right network? "
|
||||
"(--network={bitcoin,testnet})",
|
||||
type_to_string(w, struct bitcoin_blkid,
|
||||
&chainhash),
|
||||
type_to_string(w, struct bitcoin_blkid,
|
||||
|
Loading…
Reference in New Issue
Block a user