Skip to content

Update to rust-secp256k1 v0.11 and rust-bitcoin v0.14 #123

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

Merged
merged 5 commits into from
Aug 23, 2018

Conversation

TheBlueMatt
Copy link
Collaborator

No description provided.

@@ -679,8 +680,10 @@ impl Channel {
let txins = {
let mut ins: Vec<TxIn> = Vec::new();
ins.push(TxIn {
prev_hash: self.channel_monitor.get_funding_txo().unwrap().txid,
prev_index: self.channel_monitor.get_funding_txo().unwrap().index as u32,
previous_output: BitcoinOutPoint {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implementing From<BitcoinOutPoint> for OutPoint can make this more cleaner, you just call self.channel_monitor.get_funding_txo().unwrap().into().

@TheBlueMatt TheBlueMatt changed the title Update to rust-secp256k1 v0.10 and rust-bitcoin:next Update to rust-secp256k1 v0.11 and rust-bitcoin v0.14 Aug 22, 2018
@TheBlueMatt TheBlueMatt force-pushed the 2018-08-secp-0.10 branch 2 times, most recently from 6bfc606 to 9f260b3 Compare August 23, 2018 18:33
@TheBlueMatt TheBlueMatt merged commit 4330ae5 into lightningdevkit:master Aug 23, 2018
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.

2 participants