mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 23:56:43 +00:00
fix ci tests: unnecessary conversion
This commit is contained in:
parent
c8f6feb7ae
commit
775d71541d
2 changed files with 2 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ func NewBeaconStorage(config storage.PortalStorageConfig) (storage.ContentStorag
|
|||
} else {
|
||||
q.Scan(resStr)
|
||||
}
|
||||
contentStorageUsage.Update(int64(*resStr))
|
||||
contentStorageUsage.Update(*resStr)
|
||||
}
|
||||
return bs, nil
|
||||
}
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ func NewStateStorage(store storage.ContentStorage, db *sql.DB) *StateStorage {
|
|||
} else {
|
||||
q.Scan(resStr)
|
||||
}
|
||||
contentStorageUsage.Update(int64(*resStr))
|
||||
contentStorageUsage.Update(*resStr)
|
||||
}
|
||||
|
||||
return storage
|
||||
|
|
|
|||
Loading…
Reference in a new issue