Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update main.go #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cmd/dcratomicswap/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,16 @@ var (
// transaction on the other chain. Any chain can be used so long as it supports
// OP_SHA256 and OP_CHECKLOCKTIMEVERIFY.
//
// Example scenerios using bitcoin as the second chain:
// Example scenarios using bitcoin as the second chain:
//
// Scenerio 1:
// Scenario 1:
// cp1 initiates (dcr)
// cp2 participates with cp1 H(S) (btc)
// cp1 redeems btc revealing S
// - must verify H(S) in contract is hash of known secret
// cp2 redeems dcr with S
//
// Scenerio 2:
// Scenario 2:
// cp1 initiates (btc)
// cp2 participates with cp1 H(S) (dcr)
// cp1 redeems dcr revealing S
Expand Down