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