Commit e63f2b61 authored by Sebastian Stammler's avatar Sebastian Stammler

op-chain-ops: Fix logging in ether migration

parent 6a474e36
......@@ -182,7 +182,7 @@ func doMigration(mutableDB *state.StateDB, dbFactory util.DBFactory, addresses [
if noCheck {
log.Error("unknown slot type", "slot", key, "type", slotType)
} else {
log.Crit("unknown slot type %d, should never happen", slotType)
log.Crit("unknown slot type, should never happen", "type", slotType)
}
}
......@@ -209,10 +209,10 @@ func doMigration(mutableDB *state.StateDB, dbFactory util.DBFactory, addresses [
// Print first 10 accounts without balance
aleft := 10
log.Info("Listing first %d accounts without balance", aleft)
log.Info("Listing first accounts without balance", "num", aleft)
for i, a := range addresses {
if !seenAccounts[a] {
log.Info("Account[%d] without balance", i, "addr", a)
log.Info("Account without balance", "idx", i, "addr", a)
aleft--
}
if aleft == 0 {
......
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