[#326] ir: Change construction of Balance contact client
Use client with extraFee instead of readOnlyFee. Rename NewNoFeeBalanceClient to NewBalanceClient since no-fee client is no longer used. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
a6785c1585
commit
aaeb13f7df
2 changed files with 4 additions and 4 deletions
|
@ -404,7 +404,7 @@ func New(ctx context.Context, log *zap.Logger, cfg *viper.Viper) (*Server, error
|
|||
return nil, err
|
||||
}
|
||||
|
||||
balClient, err := invoke.NewNoFeeBalanceClient(server.morphClient, server.contracts.balance)
|
||||
balClient, err := invoke.NewBalanceClient(server.morphClient, server.contracts.balance)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue