Skip to content

Commit

Permalink
correct calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
ogabrielides committed Oct 6, 2023
1 parent 1c66ac3 commit 2dd260a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/functional/feature_asset_locks.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,7 @@ def run_test(self):
owner_reward = bt['masternode'][1]['amount']
operator_reward = bt['masternode'][2]['amount'] if len(bt['masternode']) == 3 else 0
all_mn_rewards = platform_reward + owner_reward + operator_reward
all_mn_rewards += 1 * 0.75
assert_equal(all_mn_rewards, bt['coinbasevalue'] * 0.75) # 75/25 mn/miner reward split
assert_equal(all_mn_rewards, int(bt['coinbasevalue'] * 0.75)) # 75/25 mn/miner reward split
assert_equal(platform_reward, int(all_mn_rewards * 0.375)) # 0.375 platform share
assert_equal(platform_reward, 2555399792)
assert_equal(new_total, self.get_credit_pool_balance())
Expand Down

0 comments on commit 2dd260a

Please sign in to comment.