Remove long log lines in check price function (#1266)

This commit is contained in:
Jonathan Zernik 2021-09-09 23:56:09 -07:00 committed by GitHub
parent 179c5fda0f
commit 0e88a11312
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -228,11 +228,7 @@ class SqueakController:
def get_price_for_squeak(self, squeak: CSqueak) -> int:
squeak_address = str(squeak.GetAddress())
logger.info(
"Looking for profile with address: {}".format(squeak_address))
squeak_profile = self.get_squeak_profile_by_address(squeak_address)
logger.info(
"Checking price for squeak with profile: {}".format(squeak_profile))
if squeak_profile is not None and squeak_profile.use_custom_price:
return squeak_profile.custom_price_msat
return self.config.node.price_msat