Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failing test on Windows #2751

Merged
merged 1 commit into from
Apr 12, 2019

Conversation

mcdallas
Copy link
Contributor

This test fails on windows with error:

test peer_handshake ... FAILED

failures:

---- peer_handshake stdout ----
thread 'peer_handshake' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 10049, kind: AddrNotAvailable, message: "The requested address is not valid in its context." }', libcore\result.rs:1009:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

This change fixes it and shouldn't change the behavior because we are already listening on localhost only

let listener = TcpListener::bind("127.0.0.1:0").unwrap();

@quentinlesceller quentinlesceller merged commit fc5fdc8 into mimblewimble:master Apr 12, 2019
@antiochp antiochp added this to the 1.1.0 milestone Jun 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants