Browse Source
Add attestation to `PendingOpen` in case we receive attestation in that state
temporary-fast-timelocks
Daniel Karzel
3 years ago
No known key found for this signature in database
GPG Key ID: 30C3FC2E438ADB6E
1 changed files with
1 additions and
1 deletions
-
daemon/src/model/cfd.rs
|
|
@ -732,7 +732,7 @@ impl Cfd { |
|
|
|
} |
|
|
|
} |
|
|
|
CfdStateChangeEvent::OracleAttestation(attestation) => match self.state.clone() { |
|
|
|
CfdState::Open { dlc, .. } => CfdState::Open { |
|
|
|
CfdState::PendingOpen { dlc, .. } | CfdState::Open { dlc, .. } => CfdState::Open { |
|
|
|
common: CfdStateCommon { |
|
|
|
transition_timestamp: SystemTime::now(), |
|
|
|
}, |
|
|
|