From 92451c08af84f1ea0f57b7d61acd6c41ed54fe3a Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Thu, 1 Jul 2021 19:59:34 +0300 Subject: [PATCH] [#658] innerring: Do not use notary in audit client Audit client is used to send audit results and they should be signed by inner ring node itself on order to be saved in smart contract. Signed-off-by: Alex Vanin --- pkg/innerring/innerring.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/innerring/innerring.go b/pkg/innerring/innerring.go index 2b455d54f9..a7780724e0 100644 --- a/pkg/innerring/innerring.go +++ b/pkg/innerring/innerring.go @@ -390,7 +390,9 @@ func New(ctx context.Context, log *zap.Logger, cfg *viper.Viper) (*Server, error fee := server.feeConfig.SideChainFee() - server.auditClient, err = auditWrapper.NewFromMorph(server.morphClient, server.contracts.audit, fee, client.TryNotary()) + // do not use TryNotary() in audit wrapper + // audit operations do not require multisignatures + server.auditClient, err = auditWrapper.NewFromMorph(server.morphClient, server.contracts.audit, fee) if err != nil { return nil, err }