forked from TrueCloudLab/frostfs-node
[#486] morph/client: Remove unused fields in notary
With neo-go v0.94.1 verification fee can be calculated precisely and alphabet keys are fetched from committee instead of network map contract. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
20b7295087
commit
c84fe1360e
1 changed files with 0 additions and 6 deletions
|
@ -19,17 +19,12 @@ import (
|
|||
|
||||
type (
|
||||
notary struct {
|
||||
// extra fee to check witness of proxy contract
|
||||
// neo-go does not have an option to calculate it exactly right now
|
||||
extraVerifyFee int64
|
||||
|
||||
txValidTime uint32 // minimum amount of blocks when mainTx will be valid
|
||||
roundTime uint32 // extra amount of blocks to synchronize sidechain height diff of inner ring nodes
|
||||
fallbackTime uint32 // amount of blocks before fallbackTx will be sent
|
||||
|
||||
notary util.Uint160
|
||||
proxy util.Uint160
|
||||
netmap util.Uint160
|
||||
}
|
||||
|
||||
notaryCfg struct {
|
||||
|
@ -79,7 +74,6 @@ func (c *Client) EnableNotarySupport(proxy, netmap util.Uint160, opts ...NotaryO
|
|||
c.notary = ¬ary{
|
||||
notary: notaryContract,
|
||||
proxy: proxy,
|
||||
netmap: netmap,
|
||||
txValidTime: cfg.txValidTime,
|
||||
roundTime: cfg.roundTime,
|
||||
fallbackTime: cfg.fallbackTime,
|
||||
|
|
Loading…
Reference in a new issue