Skip to content

Commit

Permalink
fix: Update to latest rust-dlc with bug fix
Browse files Browse the repository at this point in the history
Now we should not run into payout amounts being greater than the total
collateral.
  • Loading branch information
luckysori committed Mar 23, 2023
1 parent 18fb576 commit e6ec260
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ members = ["coordinator", "maker", "mobile/native/", "crates/*"]
resolver = "2"

[patch.crates-io]
dlc-manager = { git = "https://github.com/get10101/rust-dlc", rev = "ef3fe72c5e0f8930010fb13b6ea5dc3d91457c0f" }
dlc-messages = { git = "https://github.com/get10101/rust-dlc", rev = "ef3fe72c5e0f8930010fb13b6ea5dc3d91457c0f" }
dlc = { git = "https://github.com/get10101/rust-dlc", rev = "ef3fe72c5e0f8930010fb13b6ea5dc3d91457c0f" }
dlc-sled-storage-provider = { git = "https://github.com/get10101/rust-dlc", rev = "ef3fe72c5e0f8930010fb13b6ea5dc3d91457c0f" }
p2pd-oracle-client = { git = "https://github.com/get10101/rust-dlc", rev = "ef3fe72c5e0f8930010fb13b6ea5dc3d91457c0f" }
dlc-trie = { git = "https://github.com/get10101/rust-dlc", rev = "ef3fe72c5e0f8930010fb13b6ea5dc3d91457c0f" }
simple-wallet = { git = "https://github.com/get10101/rust-dlc", rev = "ef3fe72c5e0f8930010fb13b6ea5dc3d91457c0f" }
dlc-manager = { git = "https://github.com/p2pderivatives/rust-dlc", rev = "f7417720d658dccb22229b0a0e563dfddd5cc73c" }
dlc-messages = { git = "https://github.com/p2pderivatives/rust-dlc", rev = "f7417720d658dccb22229b0a0e563dfddd5cc73c" }
dlc = { git = "https://github.com/p2pderivatives/rust-dlc", rev = "f7417720d658dccb22229b0a0e563dfddd5cc73c" }
dlc-sled-storage-provider = { git = "https://github.com/p2pderivatives/rust-dlc", rev = "f7417720d658dccb22229b0a0e563dfddd5cc73c" }
p2pd-oracle-client = { git = "https://github.com/p2pderivatives/rust-dlc", rev = "f7417720d658dccb22229b0a0e563dfddd5cc73c" }
dlc-trie = { git = "https://github.com/p2pderivatives/rust-dlc", rev = "f7417720d658dccb22229b0a0e563dfddd5cc73c" }
simple-wallet = { git = "https://github.com/p2pderivatives/rust-dlc", rev = "f7417720d658dccb22229b0a0e563dfddd5cc73c" }
lightning = { git = "https://github.com/p2pderivatives/rust-lightning/", rev = "dff302382d04700f23d79fb3275c1798d775fef6" }
lightning-background-processor = { git = "https://github.com/p2pderivatives/rust-lightning/", rev = "dff302382d04700f23d79fb3275c1798d775fef6" }
lightning-block-sync = { git = "https://github.com/p2pderivatives/rust-lightning/", rev = "dff302382d04700f23d79fb3275c1798d775fef6" }
Expand Down
1 change: 1 addition & 0 deletions crates/ln-dlc-node/src/ln/dlc_channel_details.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ pub enum SubChannelState {
CloseConfirmed,
OffChainClosed,
ClosedPunished,
Rejected,
}

impl From<SubChannel> for DlcChannelDetails {
Expand Down

0 comments on commit e6ec260

Please sign in to comment.