psbt: remove input_amounts from bitcoin tx
Instead we will stash them into the PSBT as a utxo/witness record (which includes the amount)
This commit is contained in:
committed by
Christian Decker
parent
85f395f7d4
commit
a04f0fe250
@@ -165,8 +165,6 @@ int main(int argc, char *argv[])
|
||||
printf("# funding witness script = %s\n",
|
||||
tal_hex(NULL, funding_wscript));
|
||||
|
||||
/* Need input amount for signing */
|
||||
tx->input_amounts[0] = tal_dup(tx, struct amount_sat, &funding_amount);
|
||||
sign_tx_input(tx, 0, NULL, funding_wscript,
|
||||
&funding_privkey[LOCAL],
|
||||
&funding_pubkey[LOCAL],
|
||||
|
||||
Reference in New Issue
Block a user