Thomas Eizinger
3 years ago
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96
1 changed files with
0 additions and
4 deletions
-
daemon/src/setup_contract.rs
|
|
@ -24,10 +24,6 @@ use std::ops::RangeInclusive; |
|
|
|
|
|
|
|
/// Given an initial set of parameters, sets up the CFD contract with
|
|
|
|
/// the other party.
|
|
|
|
///
|
|
|
|
/// TODO: Replace `nonce_pks` argument with set of
|
|
|
|
/// `daemon::oracle::Announcement`, which can be mapped into
|
|
|
|
/// `cfd_protocol::Announcement`.
|
|
|
|
pub async fn new( |
|
|
|
mut sink: impl Sink<SetupMsg, Error = anyhow::Error> + Unpin, |
|
|
|
mut stream: impl FusedStream<Item = SetupMsg> + Unpin, |
|
|
|