Skip to content

Commit

Permalink
[cli] wait_for_transaction shouldn't check exact version
Browse files Browse the repository at this point in the history
in case of concurrent requests, version can move faster than client check
  • Loading branch information
Phoenix Orlov authored and calibra-opensource committed Jun 18, 2019
1 parent 7c5de4d commit 74f255b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/client_proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ impl ClientProxy {

match self.client.get_sequence_number(account) {
Ok(chain_seq_number) => {
if chain_seq_number == sequence_number {
if chain_seq_number >= sequence_number {
println!(
"\nTransaction completed, found sequence number {}",
chain_seq_number
Expand Down

0 comments on commit 74f255b

Please sign in to comment.