Skip to content

Commit

Permalink
Merge packages
Browse files Browse the repository at this point in the history
  • Loading branch information
nyonson committed May 9, 2023
1 parent ee8f01d commit 53340c8
Show file tree
Hide file tree
Showing 6 changed files with 230 additions and 235 deletions.
11 changes: 5 additions & 6 deletions cmd/raiju/raiju.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import (

"github.com/nyonson/raiju"
"github.com/nyonson/raiju/lightning"
"github.com/nyonson/raiju/lnd"
"github.com/nyonson/raiju/view"
)

Expand Down Expand Up @@ -118,7 +117,7 @@ func main() {
return err
}

c := lnd.New(services.Client, services.Client, services.Router, *network)
c := lightning.NewLndClient(services.Client, services.Client, services.Router, *network)
f, err := parseFees(*liquidityThresholds, *liquidityFees, *liquidityStickiness)
if err != nil {
return err
Expand Down Expand Up @@ -185,7 +184,7 @@ func main() {
return err
}

c := lnd.New(services.Client, services.Client, services.Router, *network)
c := lightning.NewLndClient(services.Client, services.Client, services.Router, *network)
f, err := parseFees(*liquidityThresholds, *liquidityFees, *liquidityStickiness)
if err != nil {
return err
Expand Down Expand Up @@ -261,7 +260,7 @@ func main() {
return err
}

c := lnd.New(services.Client, services.Client, services.Router, *network)
c := lightning.NewLndClient(services.Client, services.Client, services.Router, *network)
f, err := parseFees(*liquidityThresholds, *liquidityFees, *liquidityStickiness)
if err != nil {
return err
Expand Down Expand Up @@ -325,7 +324,7 @@ func main() {
return err
}

c := lnd.New(services.Client, services.Client, services.Router, *network)
c := lightning.NewLndClient(services.Client, services.Client, services.Router, *network)
f, err := parseFees(*liquidityThresholds, *liquidityFees, *liquidityStickiness)
if err != nil {
return err
Expand Down Expand Up @@ -368,7 +367,7 @@ func main() {
return err
}

c := lnd.New(services.Client, services.Client, services.Router, *network)
c := lightning.NewLndClient(services.Client, services.Client, services.Router, *network)
f, err := parseFees(*liquidityThresholds, *liquidityFees, *liquidityStickiness)
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion lightning/lightning.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"time"
)

//go:generate gotests -w -exported .
//go:generate gotests -w -exported lightning.go

// Satoshi unit of bitcoin.
type Satoshi int64
Expand Down
Loading

0 comments on commit 53340c8

Please sign in to comment.