mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
chore: fix compile issue discovered by gcc
Changelog-None
This commit is contained in:
committed by
Rusty Russell
parent
b2ce878c84
commit
d5f1515b25
@@ -219,8 +219,8 @@ bool check_tx_sig(const struct bitcoin_tx *tx, size_t input_num,
|
|||||||
}
|
}
|
||||||
assert(input_num < tx->wtx->num_inputs);
|
assert(input_num < tx->wtx->num_inputs);
|
||||||
|
|
||||||
dump_tx("check_tx_sig", tx, input_num, script, key, &hash);
|
|
||||||
bitcoin_tx_hash_for_sig(tx, input_num, script, sig->sighash_type, &hash);
|
bitcoin_tx_hash_for_sig(tx, input_num, script, sig->sighash_type, &hash);
|
||||||
|
dump_tx("check_tx_sig", tx, input_num, script, key, &hash);
|
||||||
|
|
||||||
ret = check_signed_hash(&hash, &sig->s, key);
|
ret = check_signed_hash(&hash, &sig->s, key);
|
||||||
if (!ret)
|
if (!ret)
|
||||||
|
|||||||
Reference in New Issue
Block a user