Skip to content

Commit

Permalink
makes active_stake_pct optional as it is null sometimes.
Browse files Browse the repository at this point in the history
b00kdev committed Sep 10, 2024
1 parent 01301c8 commit 8b2d2d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/pools.rs
Original file line number Diff line number Diff line change
@@ -49,7 +49,7 @@ pub struct StakePoolDelegators {
#[derive(Deserialize)]
pub struct StakePoolHistoryData {
pub active_stake: i64,
pub active_stake_pct: String,
pub active_stake_pct: Option<String>,
pub block_cnt: i64,
pub deleg_rewards: i64,
pub delegator_cnt: i64,

0 comments on commit 8b2d2d4

Please sign in to comment.