diff --git a/node/config/config.go b/node/config/config.go index ca8b295..5011e08 100644 --- a/node/config/config.go +++ b/node/config/config.go @@ -190,7 +190,7 @@ func DownloadAndVerifyGenesis() (*SignedGenesisUnlock, error) { count++ } - if count < len(Signatories)/2+len(Signatories)%2 { + if count < len(Signatories)/2 { fmt.Printf("Quorum on signatures not met") return nil, err } diff --git a/node/execution/intrinsics/token/application/token_application.go b/node/execution/intrinsics/token/application/token_application.go index 424997b..3ac4d44 100644 --- a/node/execution/intrinsics/token/application/token_application.go +++ b/node/execution/intrinsics/token/application/token_application.go @@ -248,7 +248,7 @@ func (a *TokenApplication) ApplyTransitions( break req } - data := t.Announce.InitialProof.Proofs[3] + data := t.Announce.InitialProof.Proofs[2] if len(data) < 28 { if !skipFailures { return nil, nil, nil, errors.Wrap( @@ -996,7 +996,7 @@ func (a *TokenApplication) ApplyTransitions( }) } - data := t.Mint.Proofs[3] + data := t.Mint.Proofs[2] if len(data) < 28 { if !skipFailures { return nil, nil, nil, errors.Wrap(