The hotWallet field in promotion.Service is not accessed after initialization. So effectively the field is used to validate environment variable values and for nothing else. If such validation makes sense, the code should be refactored just to do the validation. Otherwise it should be removed.
The
hotWallet
field inpromotion.Service
is not accessed after initialization. So effectively the field is used to validate environment variable values and for nothing else. If such validation makes sense, the code should be refactored just to do the validation. Otherwise it should be removed.