mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
gossipd: fix cut & paste in error messages.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
0b3040b9a6
commit
0b89664076
@ -1422,7 +1422,7 @@ static u8 *check_channel_announcement(const tal_t *ctx,
|
||||
if (!check_signed_hash_nodeid(&hash, node1_sig, node1_id)) {
|
||||
return towire_errorfmt(ctx, NULL,
|
||||
"Bad node_signature_1 %s hash %s"
|
||||
" on node_announcement %s",
|
||||
" on channel_announcement %s",
|
||||
type_to_string(ctx,
|
||||
secp256k1_ecdsa_signature,
|
||||
node1_sig),
|
||||
@ -1434,7 +1434,7 @@ static u8 *check_channel_announcement(const tal_t *ctx,
|
||||
if (!check_signed_hash_nodeid(&hash, node2_sig, node2_id)) {
|
||||
return towire_errorfmt(ctx, NULL,
|
||||
"Bad node_signature_2 %s hash %s"
|
||||
" on node_announcement %s",
|
||||
" on channel_announcement %s",
|
||||
type_to_string(ctx,
|
||||
secp256k1_ecdsa_signature,
|
||||
node2_sig),
|
||||
@ -1446,7 +1446,7 @@ static u8 *check_channel_announcement(const tal_t *ctx,
|
||||
if (!check_signed_hash(&hash, bitcoin1_sig, bitcoin1_key)) {
|
||||
return towire_errorfmt(ctx, NULL,
|
||||
"Bad bitcoin_signature_1 %s hash %s"
|
||||
" on node_announcement %s",
|
||||
" on channel_announcement %s",
|
||||
type_to_string(ctx,
|
||||
secp256k1_ecdsa_signature,
|
||||
bitcoin1_sig),
|
||||
@ -1458,7 +1458,7 @@ static u8 *check_channel_announcement(const tal_t *ctx,
|
||||
if (!check_signed_hash(&hash, bitcoin2_sig, bitcoin2_key)) {
|
||||
return towire_errorfmt(ctx, NULL,
|
||||
"Bad bitcoin_signature_2 %s hash %s"
|
||||
" on node_announcement %s",
|
||||
" on channel_announcement %s",
|
||||
type_to_string(ctx,
|
||||
secp256k1_ecdsa_signature,
|
||||
bitcoin2_sig),
|
||||
|
Loading…
Reference in New Issue
Block a user