]> git.bitcoin.ninja Git - ldk-sample/commit
Don't panic on tx broadcast failures
authorMatt Corallo <git@bluematt.me>
Thu, 23 Mar 2023 19:14:08 +0000 (19:14 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 25 Mar 2023 01:39:47 +0000 (01:39 +0000)
commite5fb42ed7bae41ebfffec3d5f8e44532dbf55c1d
tree5763c3afc2e32f6091a1a89e0f9562920261e18c
parent64d08ee85fe60b5d6e7a0773fe096a9c9ed38826
Don't panic on tx broadcast failures

In general LDK will often broadcast transactions which aren't
actually able to get into the mempool. That's generally fine,
though could indicate a significant issue. Thus, we previously had
a panic in place for it to ensure developers are notified and we
can investigate.

However, now that people are trying to actually *use* ldk-sample,
we should just remove the panic and print something with more
details.
src/bitcoind_client.rs