Skip to content

Commit 963ebef

Browse files
authored
Merge pull request ProgrammingBlockchain#143 from bitcoinbrisbane/patch-2
Update example Network Provider constructor
2 parents 62f77c0 + aecae4d commit 963ebef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wallet/web-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Then clone and run [NBXplorer](https://github.com/dgarage/NBXplorer) with defaul
4141
Reference the `NBXplorer.Client` nuget package then you need to notify the `NBXplorer` to track the user wallet:
4242

4343
```cs
44-
var network = new NBXplorerNetworkProvider(ChainType.Main).GetBTC();
44+
var network = new NBXplorerNetworkProvider(NetworkType.Mainnet).GetBTC();
4545
var userExtKey = new ExtKey();
4646
var userDerivationScheme = network.DerivationStrategyFactory.CreateDirectDerivationStrategy(userExtKey.Neuter(), new DerivationStrategyOptions()
4747
{

0 commit comments

Comments
 (0)