[#493] node: Do not add fee in smart contract calls

Calls to contracts by storage nodes do not lead to the accumulation of
multisignatures in the contract memory, so the call cost can always be
accurately calculated in advance without additional fee.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-05-12 11:15:04 +03:00 committed by Leonard Lyubich
parent acd63afd48
commit 3ef5b0ff9c
4 changed files with 3 additions and 19 deletions

View file

@ -18,7 +18,7 @@ func initAccountingService(c *cfg) {
staticClient, err := client.NewStatic(
c.cfgMorph.client,
c.cfgAccounting.scriptHash,
c.cfgAccounting.fee,
0,
)
fatalOnErr(err)