File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/beacon_api/controllers/v1 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -171,15 +171,15 @@ defmodule BeaconApi.V1.BeaconController do
171171 finalized: finalized ,
172172 data: % {
173173 previous_justified: % {
174- epoch: previous_justified_checkpoint . epoch ,
174+ epoch: previous_justified_checkpoint . epoch |> Integer . to_string ( ) ,
175175 root: Utils . hex_encode ( previous_justified_checkpoint . root )
176176 } ,
177177 current_justified: % {
178- epoch: current_justified_checkpoint . epoch ,
178+ epoch: current_justified_checkpoint . epoch |> Integer . to_string ( ) ,
179179 root: Utils . hex_encode ( current_justified_checkpoint . root )
180180 } ,
181181 finalized: % {
182- epoch: finalized_checkpoint . epoch ,
182+ epoch: finalized_checkpoint . epoch |> Integer . to_string ( ) ,
183183 root: Utils . hex_encode ( finalized_checkpoint . root )
184184 }
185185 }
You can’t perform that action at this time.
0 commit comments