Skip to content

Commit ddf7a72

Browse files
committed
f Add debug_assert in Electrum broadcast method
1 parent 7f2d625 commit ddf7a72

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/chain/electrum.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,10 @@ impl ElectrumRuntimeClient {
190190
{
191191
spawn_fut
192192
} else {
193+
debug_assert!(
194+
false,
195+
"Failed to broadcast due to runtime being unavailable. This should never happen."
196+
);
193197
return;
194198
};
195199

0 commit comments

Comments
 (0)