Commit 02dd4346 authored by acud's avatar acud Committed by GitHub

fix: address delete (#2146)

parent e46c31f4
...@@ -77,9 +77,9 @@ func migrateStamp(s *store) error { ...@@ -77,9 +77,9 @@ func migrateStamp(s *store) error {
}); err != nil { }); err != nil {
return err return err
} }
if err := s.Iterate("addressbook", func(k, v []byte) (bool, error) { if err := s.Iterate("addressbook_entry_", func(k, v []byte) (bool, error) {
stk := string(k) stk := string(k)
if strings.HasPrefix(stk, "batchstore") { if strings.HasPrefix(stk, "addressbook_entry_") {
collectedKeys = append(collectedKeys, stk) collectedKeys = append(collectedKeys, stk)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment