Don't block the server

This commit is contained in:
Greg Fitzgerald
2018-03-05 11:11:00 -07:00
parent 79fb9c00aa
commit d76ecbc9c9
3 changed files with 29 additions and 13 deletions

View File

@@ -28,7 +28,7 @@ fn main() {
sleep(Duration::from_millis(30));
let socket = UdpSocket::bind(send_addr).unwrap();
let acc = AccountantStub::new(addr, socket);
let mut acc = AccountantStub::new(addr, socket);
let alice_pubkey = get_pubkey(&alice_keypair);
let one = 1;
println!("Signing transactions...");