From 2fb352b3fd4f01a82da501525938e1001a5e78cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20M=C3=BCller?= Date: Mon, 11 Mar 2024 17:59:31 -0700 Subject: [PATCH] remove no-longer used mustHexToAddress --- cmd/util/ledger/migrations/account_based_migration.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cmd/util/ledger/migrations/account_based_migration.go b/cmd/util/ledger/migrations/account_based_migration.go index fdd346d1742..c183154d37a 100644 --- a/cmd/util/ledger/migrations/account_based_migration.go +++ b/cmd/util/ledger/migrations/account_based_migration.go @@ -317,14 +317,6 @@ func MigrateGroupConcurrently( var knownProblematicAccounts = map[common.Address]string{} -func mustHexToAddress(hex string) common.Address { - address, err := common.HexToAddress(hex) - if err != nil { - panic(err) - } - return address -} - type jobMigrateAccountGroup struct { Address common.Address Payloads []*ledger.Payload