1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-02-24 14:50:46 +01:00
eclair/eclair-core
Pierre-Marie Padiou 91c6645247
Correctly extract pubkeyScript from tx witness (#555)
When publishing delayed txes, we need to first watch the parent
transaction in order to know how many confirmations it has.

Electrum relies on hashes of `pubkeyScript`s in order to track
transactions.

In order to do this without having the parent transaction at hand,
we recompute the `pubkeyScript` from the child transaction witness data
and give it to Electrum.

But if the script was a `pay2wsh`, we were using the `redeemScript`
instead of computing the `pubkeyScript`.

This is the root cause of https://github.com/ACINQ/eclair-wallet/issues/17.
2018-04-11 12:01:51 +02:00
..
src Correctly extract pubkeyScript from tx witness (#555) 2018-04-11 12:01:51 +02:00
eclair-cli Make eclair-cli executable (#382) 2018-01-20 23:37:21 +01:00
pom.xml back to SNAPSHOT 2018-04-04 13:52:24 +02:00