Skip to content

Commit ff9c9c3

Browse files
jrickdavecgh
authored andcommitted
mixing: Make MaxMixAmount a typed int64 const
This fixes the build for 32-bit target platforms where the constant would overflow the int type.
1 parent e59d62d commit ff9c9c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mixing/limits.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ const (
3838
MaxMixTxSerializeSize = 100000
3939

4040
// MaxMixAmount is the maximum value of a mixed output.
41-
MaxMixAmount = 21000000_00000000 / MinPeers
41+
MaxMixAmount int64 = 21000000_00000000 / MinPeers
4242
)

0 commit comments

Comments
 (0)