Skip to content

Commit

Permalink
chore: remove the added 'jsonRPC' for custom v2 endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
krigga authored Feb 26, 2024
1 parent 4c54ecf commit 9e49ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/createNetworkProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ class NetworkProviderBuilder {
}
if (configNetwork.version === undefined || configNetwork.version === 'v2') {
tc = new TonClient({
endpoint: configNetwork.endpoint + 'jsonRPC',
endpoint: configNetwork.endpoint,
apiKey: configNetwork.key,
});
} else if (configNetwork.version === 'v4') {
Expand Down

0 comments on commit 9e49ada

Please sign in to comment.