Skip to content

Commit

Permalink
Merge pull request #102 from renproject/fix/devnet
Browse files Browse the repository at this point in the history
fix panic when running against devnet
  • Loading branch information
tok-kkk committed Oct 30, 2020
2 parents c102e50 + 1b7e9e8 commit a99e900
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
- Fix overriding confirmations
- Update Darknode/Multichain dependencies
- Fix function parsing the network
- Add support for Devnet

## 0.2.3
- Update to Multichain v0.2.14
Expand Down
2 changes: 1 addition & 1 deletion lightnode.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type Lightnode struct {
// New constructs a new Lightnode.
func New(options Options, ctx context.Context, logger logrus.FieldLogger, sqlDB *sql.DB, client *redis.Client) Lightnode {
switch options.Network {
case multichain.NetworkMainnet, multichain.NetworkTestnet, multichain.NetworkLocalnet:
case multichain.NetworkMainnet, multichain.NetworkTestnet, multichain.NetworkDevnet, multichain.NetworkLocalnet:
default:
panic("unknown network")
}
Expand Down

0 comments on commit a99e900

Please sign in to comment.