[#1560] morph/client: Remove customFees
type
It is private, is a simple map and there is no complex logic to be wrapped in methods. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
0ccea802e9
commit
f699e82ea7
3 changed files with 12 additions and 23 deletions
|
@ -63,7 +63,7 @@ func NewStatic(client *Client, scriptHash util.Uint160, fee fixedn.Fixed8, opts
|
|||
scScriptHash: scriptHash,
|
||||
}
|
||||
|
||||
c.fees.setDefault(fee)
|
||||
c.fees.defaultFee = fee
|
||||
|
||||
for i := range opts {
|
||||
opts[i](&c.staticOpts)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue