Skip to content

Commit

Permalink
Uncomment ark transition
Browse files Browse the repository at this point in the history
  • Loading branch information
pool2win committed May 24, 2024
1 parent b4ec6bc commit cdf788b
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions lib/contracts/ark/single_payment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -185,21 +185,21 @@
end
# end::alice_redeems_coins_after_timeout[]

# # tag::pay_alice_to_bob[]
# # Publish pool transaction, paying Alice to Bob
# run_transitions :setup,
# :create_funding_tx,
# :create_redeem_tx,
# :broadcast_funding_tx,
# :initialise_payment_to_bob,
# :build_alice_forfeit_tx,
# :publish_pool_tx, # <1>
# :bob_redeems_coins
# # end::pay_alice_to_bob[]

# # tag::reset[]
# node :reset
# # end::reset[]
# tag::pay_alice_to_bob[]
# Publish pool transaction, paying Alice to Bob
run_transitions :setup,
:create_funding_tx,
:create_redeem_tx,
:broadcast_funding_tx,
:initialise_payment_to_bob,
:build_alice_forfeit_tx,
:publish_pool_tx, # <1>
:bob_redeems_coins
# end::pay_alice_to_bob[]

# tag::reset[]
node :reset
# end::reset[]

# tag::cancelled_payment[]
# Cancel the payment because ASP is not responsive
Expand Down

0 comments on commit cdf788b

Please sign in to comment.