Skip to content

Commit e482531

Browse files
committed
change amounts from string to f64 as they fail row.get() db parsing
1 parent 8149faa commit e482531

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mm2src/mm2_main/src/database/stats_swaps.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,8 +490,8 @@ pub struct SwapStatusFromDB {
490490
pub taker_coin: String,
491491
pub started_at: u64,
492492
pub finished_at: u64,
493-
pub maker_amount: String,
494-
pub taker_amount: String,
493+
pub maker_amount: f64,
494+
pub taker_amount: f64,
495495
pub is_success: bool,
496496
}
497497

0 commit comments

Comments
 (0)