Skip to content

Commit 0439a87

Browse files
update examples
1 parent a641238 commit 0439a87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/local/fivenodenetwork/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func main() {
6868

6969
func run(log logging.Logger, binaryPath string) error {
7070
// Create the network
71-
nw, err := local.NewDefaultNetwork(log, binaryPath, true)
71+
nw, err := local.NewDefaultNetwork(log, binaryPath, true, true, true)
7272
if err != nil {
7373
return err
7474
}

examples/local/indepth/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func main() {
7373

7474
func run(log logging.Logger, binaryPath string) error {
7575
// Create the network
76-
nw, err := local.NewDefaultNetwork(log, binaryPath, true)
76+
nw, err := local.NewDefaultNetwork(log, binaryPath, true, true, true)
7777
if err != nil {
7878
return err
7979
}

0 commit comments

Comments
 (0)