Browse Source

fix lint issues

fix/bbjj-err
Cool Developer 2 years ago
parent
commit
1a046cf574
2 changed files with 5 additions and 5 deletions
  1. +5
    -2
      goldenposeidon/constants.go
  2. +0
    -3
      goldenposeidon/poseidon.go

+ 5
- 2
goldenposeidon/constants.go

@ -3,10 +3,13 @@ package poseidon
import "github.com/iden3/go-iden3-crypto/ffg"
const (
// NROUNDSF
NROUNDSF = 8
// NROUNDSP
NROUNDSP = 22
CAPLEN = 4
mLen = 12
// CAPLEN
CAPLEN = 4
mLen = 12
)
var (

+ 0
- 3
goldenposeidon/poseidon.go

@ -6,9 +6,6 @@ import (
"github.com/iden3/go-iden3-crypto/ffg"
)
const spongeChunkSize = 31
const spongeInputs = 16
func zero() *ffg.Element {
return ffg.NewElement()
}

Loading…
Cancel
Save