fix the lock on the new mutex (#1942)

This commit is contained in:
Antioch Peverell
2018-11-07 09:40:39 +00:00
committed by GitHub
parent d97a6c2189
commit 949f75c77c
+2
View File
@@ -285,6 +285,7 @@ impl Peer {
self.connection
.as_ref()
.unwrap()
.lock()
.send(h, msg::Type::TransactionKernel)?;
Ok(true)
} else {
@@ -359,6 +360,7 @@ impl Peer {
self.connection
.as_ref()
.unwrap()
.lock()
.send(&h, msg::Type::GetTransaction)
}