Skip to content

Commit

Permalink
Log absorb fee
Browse files Browse the repository at this point in the history
  • Loading branch information
william-gr committed Dec 20, 2023
1 parent f7ab73b commit 565c937
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pool/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
from chia.full_node.signage_point import SignagePoint
from chia.types.end_of_slot_bundle import EndOfSubSlotBundle
from chia.types.blockchain_format.sized_bytes import bytes32
from chia.types.spend_bundle import estimate_fees
from chia.consensus.pot_iterations import calculate_iterations_quality
from chia.util.lru_cache import LRUCache
from chia.wallet.transaction_record import TransactionRecord
Expand Down Expand Up @@ -761,12 +762,15 @@ async def collect_pool_rewards_loop(self):

push_tx_response: Dict = await self.node_rpc_client.push_tx(spend_bundle)
if push_tx_response["status"] == "SUCCESS":
self.log.info(
f"Submitted transaction successfully: {spend_bundle.name().hex()}"
)
# See farmers_seen comment above
farmers_seen.add(rec.launcher_id)

self.log.info(
"Submitted transaction successfully %r with fee %r",
spend_bundle.name().hex(),
estimate_fees(spend_bundle),
)

# Best effort to make sure coins show in the same order in the wallet
# (confirmed block index)
await asyncio.sleep(30)
Expand Down

0 comments on commit 565c937

Please sign in to comment.