Introduce ChannelMonitor::is_paying_spendable_output
authorAntoine Riard <ariard@student.42.fr>
Wed, 18 Mar 2020 20:56:32 +0000 (16:56 -0400)
committerAntoine Riard <ariard@student.42.fr>
Fri, 20 Mar 2020 02:29:26 +0000 (22:29 -0400)
Previously, we would generate SpendableOutputDescriptor::StaticOutput
in OnchainTxHandler even if our claiming transaction wouldn't confirm
onchain, misbehaving user wallet to think it receives more funds than
in reality.

Fix tests in consequence


No differences found