Skip to content

Commit

Permalink
steemit#3266: Use string as return type rather than fc::uint128_t
Browse files Browse the repository at this point in the history
  • Loading branch information
sgerbino committed Jun 17, 2019
1 parent a08c71c commit c0baedd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct simulate_curve_payouts_args

struct simulate_curve_payouts_return
{
fc::uint128_t recent_claims;
std::string recent_claims;
std::vector< simulate_curve_payouts_element > payouts;
};

Expand Down
2 changes: 1 addition & 1 deletion libraries/plugins/apis/rewards_api/rewards_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ DEFINE_API_IMPL( rewards_api_impl, simulate_curve_payouts )
ret.payouts[ i ].payout = protocol::asset( static_cast< uint64_t >( payout_u256 ), STEEM_SYMBOL );
}

ret.recent_claims = simulated_recent_claims - sum_simulated_vshares;
ret.recent_claims = std::string{ simulated_recent_claims - sum_simulated_vshares };

return ret;
}
Expand Down

0 comments on commit c0baedd

Please sign in to comment.