OSDN Git Service

V0.1 votetx utxo (#73)
[bytom/vapor.git] / account / image.go
index 0a7b115..3562c5e 100644 (file)
@@ -52,8 +52,9 @@ func (m *Manager) Restore(image *Image) error {
        for _, slice := range image.Slice {
                if existed := m.db.Get(Key(slice.Account.ID)); existed != nil {
                        log.WithFields(log.Fields{
-                               "alias": slice.Account.Alias,
-                               "id":    slice.Account.ID,
+                               "module": logModule,
+                               "alias":  slice.Account.Alias,
+                               "id":     slice.Account.ID,
                        }).Warning("skip restore account due to already existed")
                        continue
                }