Skip to content

Commit

Permalink
Fix remaining of the coin
Browse files Browse the repository at this point in the history
  • Loading branch information
william-gr committed Dec 21, 2023
1 parent 75b4b8e commit fe8e078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pool/absorb_spend.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ async def spend_with_fee(

if not spend_reward:
transaction = await wallet['rpc_client'].create_signed_transaction(
additions=[{'puzzle_hash': wallet['puzzle_hash'], 'amount': 0}],
additions=[{'puzzle_hash': wallet['puzzle_hash'], 'amount': spend_coin.amount - fee}],
tx_config=DEFAULT_TX_CONFIG,
coins=[spend_coin],
coin_announcements=[Announcement(p2_coin.name(), b"$")],
Expand Down

0 comments on commit fe8e078

Please sign in to comment.