preserve counters

This commit is contained in:
Radu Ioan Fericean
2016-02-18 18:44:39 +02:00
parent 291d6f7421
commit 54809cbd9f

View File

@@ -278,6 +278,7 @@ func (mig MigratorRC8) migrateAccounts() error {
}
newUc.Counters[index] = cf
}
newAcc.UnitCounters[oldUc.BalanceType] = append(newAcc.UnitCounters[oldUc.BalanceType], newUc)
}
// action triggers
for index, oldAtr := range oldAcc.ActionTriggers {