Reduce transactions sent by demo

We don't do retries yet, so keep tx count to something that won't
trigger any packet loss.
This commit is contained in:
Greg Fitzgerald 2018-03-02 10:35:35 -07:00
parent dfd1c4eab3
commit 32d677787b
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ fn main() {
let mut acc = AccountantStub::new(addr, socket);
let alice_keypair = generate_keypair();
let alice_pubkey = get_pubkey(&alice_keypair);
let txs = 10_000;
let txs = 2_000;
println!("Depositing {} units in Alice's account...", txs);
let sig = acc.deposit(txs, &alice_keypair).unwrap();
acc.wait_on_signature(&sig).unwrap();