Skip to content

Commit e3129c7

Browse files
committed
f return on broadcast failure
1 parent 2adedb5 commit e3129c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wallet.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ where
202202
let locked_runtime = self.tokio_runtime.read().unwrap();
203203
if locked_runtime.as_ref().is_none() {
204204
log_error!(self.logger, "Failed to broadcast transaction: No runtime.");
205+
return;
205206
}
206207

207208
let res = tokio::task::block_in_place(move || {

0 commit comments

Comments
 (0)