Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
Remove synchronously
Browse files Browse the repository at this point in the history
Co-authored by: Alec Charbonneau <[email protected]>
  • Loading branch information
leighmcculloch committed Aug 23, 2021
1 parent 0d63856 commit 79ec700
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sdk/agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ func (a *Agent) Payment(paymentAmount string) error {
return nil
}

// DeclareClose kicks off the close process by synchronously submitting a tx to
// the network to begin the close process, then asynchronously coordinating with
// the remote participant to coordinate the close. If the participant responds
// the agent will automatically submit the final close tx that can be submitted
// DeclareClose kicks off the close process by submitting a tx to the network to
// begin the close process, then asynchronously coordinating with the remote
// participant to coordinate the close. If the participant responds the agent
// will automatically submit the final close tx that can be submitted
// immediately. If no closed notification occurs before the observation period,
// manually submit the close by calling Close.
func (a *Agent) DeclareClose() error {
Expand Down

0 comments on commit 79ec700

Please sign in to comment.