fix_: Fix cast (#5287)
This commit is contained in:
parent
fb63f0c1e0
commit
d182fb762a
|
@ -317,7 +317,7 @@ func (s *Service) GetOldestTimestampAsync(requestID int32, addresses []common.Ad
|
|||
if errors.Is(err, context.Canceled) || errors.Is(err, async.ErrTaskOverwritten) {
|
||||
res.ErrorCode = ErrorCodeTaskCanceled
|
||||
} else if err == nil {
|
||||
res.Timestamp = result.(int64)
|
||||
res.Timestamp = int64(result.(uint64))
|
||||
res.ErrorCode = ErrorCodeSuccess
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue