Remove confusing coinsol value (it's rather a coin spend) in create_spend_for_message (#17133)

Remove confusing coinsol value (it's rather a coin spend) in create_spend_for_message.
This commit is contained in:
Amine Khaldi
2023-12-21 21:58:09 -06:00
committed by GitHub
parent 36f138a367
commit 683ad4fee2
+1 -2
View File
@@ -148,8 +148,7 @@ def create_spend_for_message(
puzzle = create_recovery_message_puzzle(recovering_coin, newpuz, pubkey)
coin = Coin(parent_of_message, puzzle.get_tree_hash(), uint64(0))
solution = Program.to([])
coinsol = make_spend(coin, puzzle, solution)
return coinsol
return make_spend(coin, puzzle, solution)
def match_did_puzzle(mod: Program, curried_args: Program) -> Optional[Iterator[Program]]: