mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-20 13:28:20 +02:00
Remove long log lines in check price function (#1266)
This commit is contained in:
parent
179c5fda0f
commit
0e88a11312
1 changed files with 0 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue