This commit is contained in:
Anatoly Yakovenko 2018-06-07 15:43:43 +00:00 committed by Greg Fitzgerald
parent 6f9c89af39
commit ba1163d49f
2 changed files with 4 additions and 1 deletions

View File

@ -13,6 +13,9 @@ authors = [
] ]
license = "Apache-2.0" license = "Apache-2.0"
[profile.release]
debug = true
[[bin]] [[bin]]
name = "solana-client-demo" name = "solana-client-demo"
path = "src/bin/client-demo.rs" path = "src/bin/client-demo.rs"

View File

@ -565,7 +565,7 @@ impl Crdt {
match deserialize(&blob.data[..blob.meta.size]) { match deserialize(&blob.data[..blob.meta.size]) {
// TODO sigverify these // TODO sigverify these
Ok(Protocol::RequestUpdates(v, reqdata)) => { Ok(Protocol::RequestUpdates(v, reqdata)) => {
info!("RequestUpdates {}", v); trace!("RequestUpdates {}", v);
let addr = reqdata.gossip_addr; let addr = reqdata.gossip_addr;
// only lock for this call, dont lock during IO `sock.send_to` or `sock.recv_from` // only lock for this call, dont lock during IO `sock.send_to` or `sock.recv_from`
let (from, ups, data) = obj.read() let (from, ups, data) = obj.read()