mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-07-01 01:57:13 -04:00
Add confirmed field to TransactionStatus
Deserialisation was failing because the response can contain a confirmed boolean without a blockheight.
This commit is contained in:
parent
34032c8132
commit
b9f0c2cc9d
1 changed files with 1 additions and 0 deletions
|
@ -196,6 +196,7 @@ impl TransactionBlockHeight for Wallet {
|
|||
#[derive(Serialize, Deserialize, Debug, Copy, Clone)]
|
||||
struct TransactionStatus {
|
||||
block_height: Option<u32>,
|
||||
confirmed: bool,
|
||||
}
|
||||
// todo: Implement conversion to anyhow::error so we can dont have to wrap these
|
||||
// errors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue