diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2016-05-04 16:00:26 -0400 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2016-05-04 16:00:26 -0400 |
| commit | 867f3654993a7e6f30009316d301b0f040dab224 (patch) | |
| tree | 460085ea5f7f4bf7b1424e02e190e344de2a0b98 /merkle.go | |
| parent | 7713bb6f8c06a0feb326ea629ad80ab44438326b (diff) | |
| download | pos-867f3654993a7e6f30009316d301b0f040dab224.tar.gz | |
Remove hard-coding of the hashsize
Diffstat (limited to 'merkle.go')
| -rw-r--r-- | merkle.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ import ( "golang.org/x/crypto/sha3" ) -const hashSize int64 = 32 +var hashSize = int64(sha3.New256().Size()) type Merkle interface { Build() []byte |
