Skip to content
Snippets Groups Projects

[V124-specific] semi random asgard vault selection based on tx inhash and block height

Merged dixitaniket requested to merge ani/1718 into develop
3 files
+ 11
8
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 1
1
@@ -2,7 +2,7 @@ package common
import "math/rand"
const letterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
const letterBytes = "abcdefABCDEF0123456789"
const (
letterIdxBits = 6 // 6 bits to represent a letter index
letterIdxMask = 1<<letterIdxBits - 1 // All 1-bits, as many as letterIdxBits
Loading