From ffd0f0b5e6be778912028aa126c1ca68e04f15a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20Mu=CC=88ller?= Date: Tue, 24 Nov 2020 18:41:47 -0800 Subject: [PATCH] lint --- cmd/util/ledger/migrations/multiple_contract_migration.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmd/util/ledger/migrations/multiple_contract_migration.go b/cmd/util/ledger/migrations/multiple_contract_migration.go index 6b9f6b8bc51..20ffdd2ea46 100644 --- a/cmd/util/ledger/migrations/multiple_contract_migration.go +++ b/cmd/util/ledger/migrations/multiple_contract_migration.go @@ -174,11 +174,10 @@ func migrateDeferredValueOfContractValue( }, "") newPayload := ledger.Payload{ - Key: changeKey(payload.Key, newRegisterKey), + Key: changeKey(payload.Key, newRegisterKey), Value: payload.Value, } - logKeyChange(address.Hex(), payload.Key, newPayload.Key) return []ledger.Payload{newPayload}, nil @@ -230,7 +229,7 @@ func migrateContractValues(payloads []ledger.Payload) ([]ledger.Payload, map[str } type contractValueMapping struct { - address []byte + address []byte contractName string }