-
Notifications
You must be signed in to change notification settings - Fork 41
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/sample oracle and peer connection #202
Conversation
f103560
to
2ed0443
Compare
2ed0443
to
51734dd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, although I haven't tested it.
sample/Readme.md
Outdated
@@ -21,6 +21,8 @@ In a different terminal: | |||
cargo run ./examples/configurations/bob.yml | |||
``` | |||
|
|||
Update the [example contract](./examples/contracts/numerical_contract_input.json#L82) replacing the number after `btcusd` with a unix timestamp sometimes in the future (this will correspond to the contract maturity date). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update the [example contract](./examples/contracts/numerical_contract_input.json#L82) replacing the number after `btcusd` with a unix timestamp sometimes in the future (this will correspond to the contract maturity date). | |
Update the [example contract](./examples/contracts/numerical_contract_input.json#L82) replacing the number after `btcusd` with a unix timestamp some time in the future (this will correspond to the contract maturity date). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks fixed.
println!( | ||
"Node public key: {}", | ||
km.get_node_id(lightning::sign::Recipient::Node).unwrap() | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yeah, this is that sneaky bug fix you mentioned a while ago.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, wasted way to much time on that...
51734dd
to
95f2f12
Compare
Hopefully the test should make sure it's working :) |
Closes #192
Also added a small test for the sample to avoid that it silently breaks.
@kevkevinpal if by any chance you have time to give it a try it'd be nice to have your feedback to make sure it's working for you.