Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Nov 25, 2020
1 parent b6218fe commit ffd0f0b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmd/util/ledger/migrations/multiple_contract_migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -230,7 +229,7 @@ func migrateContractValues(payloads []ledger.Payload) ([]ledger.Payload, map[str
}

type contractValueMapping struct {
address []byte
address []byte
contractName string
}

Expand Down

0 comments on commit ffd0f0b

Please sign in to comment.