forked from TrueCloudLab/frostfs-node
[#2075] node: Do not make notary requests on shutdown
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
b8c30b88f6
commit
0f41c09207
2 changed files with 2 additions and 1 deletions
|
@ -161,7 +161,7 @@ func waitNotaryDeposit(c *cfg, tx util.Uint256) error {
|
|||
for i := 0; i < notaryDepositRetriesAmount; i++ {
|
||||
select {
|
||||
case <-c.ctx.Done():
|
||||
return nil
|
||||
return c.ctx.Err()
|
||||
default:
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue