Browse Source
Add error message to JSON deserializer
refactor/no-log-handler
Thomas Eizinger
3 years ago
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96
1 changed files with
4 additions and
1 deletions
-
daemon/src/oracle.rs
|
|
@ -165,7 +165,10 @@ where |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
let attestation = res.json::<Attestation>().await?; |
|
|
|
let attestation = res |
|
|
|
.json::<Attestation>() |
|
|
|
.await |
|
|
|
.with_context(|| format!("Failed to decode body for event {}", event_id))?; |
|
|
|
|
|
|
|
self.cfd_actor_address |
|
|
|
.clone() |
|
|
|