Skip to content

Commit

Permalink
bug(nodemgr): fnet wasn't accepted as valid network for onchain nfds
Browse files Browse the repository at this point in the history
NFD isn't deployed on fnet though, so any actual use of it will fail later on (resolving nfds in pool list, etc.)
  • Loading branch information
pbennett committed Oct 1, 2024
1 parent 30ad704 commit 0ea2d6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nodemgr/internal/lib/nfdonchain/nfd.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ func NewNfdApi(algoClient *algod.Client, network string) (*NfdApi, error) {
var appId uint64

switch network {
case "fnet":
appId = 0 // nfds aren't deployed on fnet
case "betanet":
appId = 842656530
case "testnet":
Expand Down

0 comments on commit 0ea2d6d

Please sign in to comment.