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:
@ -12,7 +12,7 @@ fn main() {
|
|||||||
let mut acc = AccountantStub::new(addr, socket);
|
let mut acc = AccountantStub::new(addr, socket);
|
||||||
let alice_keypair = generate_keypair();
|
let alice_keypair = generate_keypair();
|
||||||
let alice_pubkey = get_pubkey(&alice_keypair);
|
let alice_pubkey = get_pubkey(&alice_keypair);
|
||||||
let txs = 10_000;
|
let txs = 2_000;
|
||||||
println!("Depositing {} units in Alice's account...", txs);
|
println!("Depositing {} units in Alice's account...", txs);
|
||||||
let sig = acc.deposit(txs, &alice_keypair).unwrap();
|
let sig = acc.deposit(txs, &alice_keypair).unwrap();
|
||||||
acc.wait_on_signature(&sig).unwrap();
|
acc.wait_on_signature(&sig).unwrap();
|
||||||
|
Reference in New Issue
Block a user