mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
wally: update to the latest wally version
Includes: psbt: Use renamed functions for new wally version psbt: Set the transaction directly to avoid script workarounds psbt: Use low-S grinding when computing signatures tx: Use wally_tx_clone from libwally now that its exported Signed-off-by: Jon Griffiths <jon_p_griffiths@yahoo.com>
This commit is contained in:
committed by
Rusty Russell
parent
06372e13d8
commit
95d3d65c62
@@ -1284,8 +1284,8 @@ void migrate_last_tx_to_psbt(struct lightningd *ld, struct db *db,
|
||||
abort();
|
||||
|
||||
last_sig.sighash_type = SIGHASH_ALL;
|
||||
if (!psbt_input_set_partial_sig(last_tx->psbt, 0,
|
||||
&remote_funding_pubkey, &last_sig))
|
||||
if (!psbt_input_set_signature(last_tx->psbt, 0,
|
||||
&remote_funding_pubkey, &last_sig))
|
||||
abort();
|
||||
psbt_input_add_pubkey(last_tx->psbt, 0,
|
||||
&local_funding_pubkey);
|
||||
|
||||
Reference in New Issue
Block a user