[#840] shard: Fix metabase Inhume parameters for tombstones

Replace `WithAddresses` with `WithTombstoneAddress` on `InhumePrm`.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-09-24 18:32:59 +03:00 committed by Alex Vanin
parent 73fb1a886c
commit c96c455125

View file

@ -107,7 +107,7 @@ func (s *Shard) refillMetabase() error {
var inhumePrm meta.InhumePrm
inhumePrm.WithAddresses(tombAddr)
inhumePrm.WithTombstoneAddress(tombAddr)
inhumePrm.WithAddresses(tombMembers...)
_, err = s.metaBase.Inhume(&inhumePrm)