Skip to content

Commit 0794135

Browse files
thehoulAnomalRoil
andauthored
Update internal/v3marshaling.go
Co-authored-by: AnomalRoil <AnomalRoil@users.noreply.github.com>
1 parent 6bad2b3 commit 0794135

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/v3marshaling.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func UnmarshalPriShare(data []byte, suite Suite) (*share.PriShare, error) {
4343

4444
// Check for overflow on I
4545
if compatiblePriShare.I < 0 || compatiblePriShare.I > math.MaxUint32 {
46-
return nil, fmt.Errorf("cannot cast I as int64 to uint32 due to overflow")
46+
return nil, fmt.Errorf("cannot cast I as uint32 due to overflow")
4747
}
4848

4949
if err != nil {

0 commit comments

Comments
 (0)