[#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:
parent
73fb1a886c
commit
c96c455125
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ func (s *Shard) refillMetabase() error {
|
||||||
|
|
||||||
var inhumePrm meta.InhumePrm
|
var inhumePrm meta.InhumePrm
|
||||||
|
|
||||||
inhumePrm.WithAddresses(tombAddr)
|
inhumePrm.WithTombstoneAddress(tombAddr)
|
||||||
inhumePrm.WithAddresses(tombMembers...)
|
inhumePrm.WithAddresses(tombMembers...)
|
||||||
|
|
||||||
_, err = s.metaBase.Inhume(&inhumePrm)
|
_, err = s.metaBase.Inhume(&inhumePrm)
|
||||||
|
|
Loading…
Reference in a new issue