Skip to content

Commit

Permalink
feature: NewContextFromURL() accepts a debug parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
randomshinichi committed Jul 26, 2019
1 parent aab5748 commit 23b62a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aeternity/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ type Context struct {

// NewContextFromURL is a convenience function that associates a Node with a
// Helper struct for you.
func NewContextFromURL(url string, address string) Context {
h := Helpers{Node: NewNode(url, false)}
func NewContextFromURL(url string, address string, debug bool) Context {
h := Helpers{Node: NewNode(url, debug)}
return Context{Helpers: h, Address: address}
}

Expand Down

0 comments on commit 23b62a1

Please sign in to comment.