gossipd: fix cut & paste in error messages.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2020-05-20 06:10:24 +09:30 committed by neil saitug
parent 0b3040b9a6
commit 0b89664076

View File

@ -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),