mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-04-16 06:03:06 -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
@ -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…
x
Reference in New Issue
Block a user