forked from TrueCloudLab/frostfs-node
[#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:
parent
acd63afd48
commit
3ef5b0ff9c
4 changed files with 3 additions and 19 deletions
|
@ -77,7 +77,7 @@ func initMorphComponents(c *cfg) {
|
|||
staticClient, err := client.NewStatic(
|
||||
c.cfgMorph.client,
|
||||
c.cfgNetmap.scriptHash,
|
||||
c.cfgContainer.fee,
|
||||
0,
|
||||
)
|
||||
fatalOnErr(err)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue