forked from TrueCloudLab/frostfs-node
[#1486] ir: Use endless notary deposit for side chain
Signed-off-by: Alex Vanin <a.vanin@yadro.com>carpawell/fix/multiple-cache-update-requests-FROST
parent
b6a40241f8
commit
ba74244d1b
|
@ -46,10 +46,7 @@ func (s *Server) depositSideNotary() (tx util.Uint256, err error) {
|
|||
return util.Uint256{}, fmt.Errorf("could not calculate side notary deposit amount: %w", err)
|
||||
}
|
||||
|
||||
return s.morphClient.DepositNotary(
|
||||
depositAmount,
|
||||
uint32(s.epochDuration.Load())+notaryExtraBlocks,
|
||||
)
|
||||
return s.morphClient.DepositEndlessNotary(depositAmount)
|
||||
}
|
||||
|
||||
func (s *Server) notaryHandler(_ event.Event) {
|
||||
|
|
Loading…
Reference in New Issue