From f5a1436482e606fb511fe98847e66a62e1cb9068 Mon Sep 17 00:00:00 2001 From: Cassandra Heart Date: Tue, 15 Oct 2024 15:07:26 -0700 Subject: [PATCH] adjust report + decrease quorum by one --- node/config/config.go | 2 +- .../intrinsics/token/application/token_application.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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(