@@ -17,17 +17,17 @@ def calculate_pool_reward(height: uint32) -> uint64:
1717 """
1818
1919 if height == 0 :
20- return uint64 (int (( 7 / 8 ) * 21000000 * _mojo_per_chia ) )
20+ return uint64 (( 7 / 8 ) * 21000000 * _mojo_per_chia )
2121 elif height < 3 * _blocks_per_year :
22- return uint64 (int (( 7 / 8 ) * 2 * _mojo_per_chia ) )
22+ return uint64 (( 7 / 8 ) * 2 * _mojo_per_chia )
2323 elif height < 6 * _blocks_per_year :
24- return uint64 (int (( 7 / 8 ) * 1 * _mojo_per_chia ) )
24+ return uint64 (( 7 / 8 ) * 1 * _mojo_per_chia )
2525 elif height < 9 * _blocks_per_year :
26- return uint64 (int (( 7 / 8 ) * 0.5 * _mojo_per_chia ) )
26+ return uint64 (( 7 / 8 ) * 0.5 * _mojo_per_chia )
2727 elif height < 12 * _blocks_per_year :
28- return uint64 (int (( 7 / 8 ) * 0.25 * _mojo_per_chia ) )
28+ return uint64 (( 7 / 8 ) * 0.25 * _mojo_per_chia )
2929 else :
30- return uint64 (int (( 7 / 8 ) * 0.125 * _mojo_per_chia ) )
30+ return uint64 (( 7 / 8 ) * 0.125 * _mojo_per_chia )
3131
3232
3333def calculate_base_farmer_reward (height : uint32 ) -> uint64 :
@@ -40,14 +40,14 @@ def calculate_base_farmer_reward(height: uint32) -> uint64:
4040 rates increase continuously.
4141 """
4242 if height == 0 :
43- return uint64 (int (( 1 / 8 ) * 21000000 * _mojo_per_chia ) )
43+ return uint64 (( 1 / 8 ) * 21000000 * _mojo_per_chia )
4444 elif height < 3 * _blocks_per_year :
45- return uint64 (int (( 1 / 8 ) * 2 * _mojo_per_chia ) )
45+ return uint64 (( 1 / 8 ) * 2 * _mojo_per_chia )
4646 elif height < 6 * _blocks_per_year :
47- return uint64 (int (( 1 / 8 ) * 1 * _mojo_per_chia ) )
47+ return uint64 (( 1 / 8 ) * 1 * _mojo_per_chia )
4848 elif height < 9 * _blocks_per_year :
49- return uint64 (int (( 1 / 8 ) * 0.5 * _mojo_per_chia ) )
49+ return uint64 (( 1 / 8 ) * 0.5 * _mojo_per_chia )
5050 elif height < 12 * _blocks_per_year :
51- return uint64 (int (( 1 / 8 ) * 0.25 * _mojo_per_chia ) )
51+ return uint64 (( 1 / 8 ) * 0.25 * _mojo_per_chia )
5252 else :
53- return uint64 (int (( 1 / 8 ) * 0.125 * _mojo_per_chia ) )
53+ return uint64 (( 1 / 8 ) * 0.125 * _mojo_per_chia )
0 commit comments