Skip to content

Commit

Permalink
mor tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
andymck committed Nov 19, 2024
1 parent 721b20b commit e62c5fe
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions mobile_config/src/sub_dao_epoch_reward_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ pub struct ResolvedSubDaoEpochRewardInfo {
#[derive(Clone, Debug, FromRow)]
pub struct RawSubDaoEpochRewardInfo {
#[sqlx(try_from = "i64")]
pub epoch: u64,
pub epoch_address: PublicKeyBinary,
pub sub_dao_address: PublicKeyBinary,
epoch: u64,
epoch_address: PublicKeyBinary,
sub_dao_address: PublicKeyBinary,
#[sqlx(try_from = "i64")]
pub sub_dao_utility_score: u64,
sub_dao_utility_score: u64,
#[sqlx(try_from = "i64")]
pub total_utility_score: u64,
total_utility_score: u64,
#[sqlx(try_from = "i64")]
pub total_emissions: u64,
pub rewards_issued_at: DateTime<Utc>,
total_emissions: u64,
rewards_issued_at: DateTime<Utc>,
}

// server goes from raw to proto, client goes from proto to resolved
Expand Down

0 comments on commit e62c5fe

Please sign in to comment.