Merge pull request #133 from romanz/master

Remove variable shadowing in listener.rs
This commit is contained in:
Andrew Poelstra 2018-08-15 20:52:56 +00:00 committed by GitHub
commit a1c9a25d07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -53,7 +53,6 @@ pub trait Listener {
// Message loop
thread::spawn(move || {
let mut handshake_complete = false;
let mut sock = sock;
loop {
// Receive new message
match sock.receive_message() {