Skip to content

Commit

Permalink
Bug in speculative_sec_nonce use
Browse files Browse the repository at this point in the history
  • Loading branch information
madninja committed Jun 13, 2020
1 parent cbfcf0a commit d5baeb1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "helium-wallet"
version = "1.2.6"
version = "1.2.7"
authors = ["Helium <[email protected]>"]
edition = "2018"
build = "build.rs"
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/securities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl Transfer {
payer: keypair.pubkey_bin().into(),
payee: PubKeyBin::from_b58(&self.payee)?.into(),
amount: self.amount,
nonce: account.speculative_sec_nonce,
nonce: account.speculative_sec_nonce + 1,
fee: 0,
signature: vec![],
};
Expand Down

0 comments on commit d5baeb1

Please sign in to comment.