Skip to content

Commit

Permalink
fix: revert change re: CrowdNode Fees
Browse files Browse the repository at this point in the history
  • Loading branch information
HashEngineering committed Dec 17, 2024
1 parent d40a854 commit e7fae02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ class CrowdNodeApiAggregator @Inject constructor(
* obtains the current CrowdNode fee on masternode rewards once per 24 hours
*/
private suspend fun refreshFees() {
val lastFeeRequest = 0;//config.get(CrowdNodeConfig.LAST_FEE_REQUEST)
val lastFeeRequest = config.get(CrowdNodeConfig.LAST_FEE_REQUEST)
if (lastFeeRequest == null || (lastFeeRequest + TimeUnit.DAYS.toMillis(1)) < System.currentTimeMillis()) {
val feeInfo = webApi.getFees(accountAddress)
log.info("crowdnode feeInfo: {}", feeInfo)
Expand Down

0 comments on commit e7fae02

Please sign in to comment.