fix_: Fix cast (#5287)

This commit is contained in:
Cuteivist 2024-06-10 15:56:06 +02:00 committed by GitHub
parent fb63f0c1e0
commit d182fb762a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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
}