[#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 <alexey@nspcc.ru>
This commit is contained in:
parent
a2b622d62e
commit
92451c08af
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue