]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Check P2WPKH script against expected before gen'ing an output event 2018-11-230-ext
authorMatt Corallo <git@bluematt.me>
Tue, 20 Nov 2018 20:09:47 +0000 (15:09 -0500)
committerMatt Corallo <git@bluematt.me>
Wed, 21 Nov 2018 00:03:57 +0000 (19:03 -0500)
This fixes a bug in 3518f1f85d8a3daff451b3fe56cc7854b833e2bd where
we may generate an output event for a P2WPKH output which is not
ours if the transaction has a sequence/lock_time combination which
false-positives our remote tx detection.

Also note that the TODO is removed as this should already be
covered without issue if the client properly replays the chain on
restart.


No differences found