Skip to content

Commit

Permalink
fix: BNC 2 network
Browse files Browse the repository at this point in the history
  • Loading branch information
lucanicoladebiasi committed Feb 7, 2025
1 parent a057c1f commit 7b3ed2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions docs/examples/transactions/full-flow-gas-payer-private-key.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ const providerWithDelegationEnabled = new VeChainProvider(
}
],
{
// The term `gasPayer` will be deprecated soon and renamed `gasPayer`.
delegator: {
delegatorPrivateKey: gasPayerAccount.privateKey
gasPayer: {
gasPayerPrivateKey: gasPayerAccount.privateKey
}
}
),
Expand Down
5 changes: 2 additions & 3 deletions docs/examples/transactions/full-flow-gas-payer-url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ const providerWithDelegationEnabled = new VeChainProvider(
}
],
{
// The term `gasPayer` will be deprecated soon and renamed `gasPayer`.
delegator: {
delegatorUrl: gasPayerAccount.URL
gasPayer: {
gasPayerServiceUrl: gasPayerAccount.URL
}
}
),
Expand Down

0 comments on commit 7b3ed2c

Please sign in to comment.