Skip to content

Commit

Permalink
[#2075] node: Do not make notary requests on shutdown
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
  • Loading branch information
carpawell committed Nov 30, 2022
1 parent b2bf62f commit fdbc81c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Changelog for NeoFS Node
- `neofs-cli object hash` panic (#2079)
- Closing `neo-go` WS clients on shutdown and switch processes (#2080)
- Making notary deposits with a zero GAS balance (#2080)
- Notary requests on shutdown (#2075)

### Removed
- `-g` option from `neofs-cli control ...` and `neofs-cli container create` commands (#2089)
Expand Down
2 changes: 1 addition & 1 deletion cmd/neofs-node/morph.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
}

Expand Down

0 comments on commit fdbc81c

Please sign in to comment.