Recently the koios.rest API changed transaction bock_time and tx_timestamp from string to unix timestamp as integer.
This PR just adapt the wrapped time.Time to be able to unmarshal also unix timestamp.
Where should the reviewer start?
koios.Time UnmashalJSON was changed to attempt to parse integer as unix timestamp.
Motivation and context
Recently parsing response from /tx_info started to fail.
Description
Recently the koios.rest API changed transaction bock_time and tx_timestamp from string to unix timestamp as integer. This PR just adapt the wrapped time.Time to be able to unmarshal also unix timestamp.
Where should the reviewer start?
koios.Time UnmashalJSON was changed to attempt to parse integer as unix timestamp.
Motivation and context
Recently parsing response from /tx_info started to fail.
Which issue it fixes?
Closes #32