Skip to content

Commit

Permalink
fix ci tests: unnecessary conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
r4f4ss authored and GrapeBaBa committed Oct 29, 2024
1 parent c8f6feb commit 775d715
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion portalnetwork/beacon/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion portalnetwork/state/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 775d715

Please sign in to comment.