[#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
Alexey Vanin 2022-11-30 19:48:56 +03:00 committed by fyrchik
parent b6a40241f8
commit ba74244d1b
1 changed files with 1 additions and 4 deletions

View File

@ -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) {