mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-13 07:23:46 +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 {
|
} else {
|
||||||
q.Scan(resStr)
|
q.Scan(resStr)
|
||||||
}
|
}
|
||||||
contentStorageUsage.Update(int64(*resStr))
|
contentStorageUsage.Update(*resStr)
|
||||||
}
|
}
|
||||||
return bs, nil
|
return bs, nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ func NewStateStorage(store storage.ContentStorage, db *sql.DB) *StateStorage {
|
||||||
} else {
|
} else {
|
||||||
q.Scan(resStr)
|
q.Scan(resStr)
|
||||||
}
|
}
|
||||||
contentStorageUsage.Update(int64(*resStr))
|
contentStorageUsage.Update(*resStr)
|
||||||
}
|
}
|
||||||
|
|
||||||
return storage
|
return storage
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue