Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
By default `1` is assigned a 32-bit type, leading to overflow when shifting left by 40 positions. Fixed with `u64` suffix, which forces the expression to have type `u64` in which case shift left by 40 positions succeeds. Co-authored-by: Ferdinand Sauer <ferdinand@neptune.cash> Co-authored-by: Thorkil Schmidiger <thor@neptune.cash>
- Loading branch information