       get_unclaimed_block_range(unclaimed)
       |> get_blocks_gas
 
-    Enum.reduce(unclaimed, 0, fn vout, acc -> acc + compute_vout_bonus(vout, blocks_with_gas) end)
+    Enum.reduce(unclaimed, 0, fn vout, acc ->
+      %{:claim => c, :sys_fee => s} = compute_vout_bonus(vout, blocks_with_gas)
+      acc + c + s
+    end)
   end
 
   # proceed calculus if there are unclaimed results, otherwise return 0

  alias NeoscanMonitor.Api
  alias Neoscan.Blocks.Block
  alias Neoscan.Blocks

  require Logger


      |> verified_blocks()

    Enum.map(unclaimed, fn %{:value => value} = vout ->
      %{:claim => claim, :sys_fee => sys} = compute_vout_bonus(vout, blocks)
      Map.merge(vout, %{
        :unclaimed => claim + sys,
        :generated => claim,
        :sys_fee => sys,
        :value => round(value)
      })
    end)
