good morning!!!!

Skip to content
Snippets Groups Projects
Commit e02eedb4 authored by Taylor Gerring's avatar Taylor Gerring
Browse files

BlockNumber as int fix

parent 7cbcd81d
No related branches found
No related tags found
No related merge requests found
......@@ -10,9 +10,9 @@ import (
func blockAge(raw interface{}, number *int64) (err error) {
// Parse as integer
num, ok := raw.(int64)
num, ok := raw.(float64)
if ok {
*number = num
*number = int64(num)
return nil
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment