Skip to content

Commit

Permalink
Remove sleep which was used to prevent low priority tx error.
Browse files Browse the repository at this point in the history
  • Loading branch information
livelybug committed Nov 22, 2021
1 parent d3f0061 commit ba1baf9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion relayer/src/chain/substrate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,6 @@ impl ChainEndpoint for SubstrateChain {
.build().await.unwrap();

let result = client.deliver(&signer, msg, 0).await;
sleep(Duration::from_secs(10)); // For avoiding transaction low priority error, Todo:
let result = result.unwrap();
tracing::debug!("in Substrate: [send_messages_and_wait_check_tx] >> result : {:?}", result);
result
Expand Down

0 comments on commit ba1baf9

Please sign in to comment.