Skip to content

Commit

Permalink
for testnet use a proxy, just like in mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
etam committed Feb 5, 2021
1 parent 7fc8bc2 commit 8030942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/payment-driver/gnt/src/gnt/ethereum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fn geth_address(network: Network) -> Cow<'static, str> {
match network {
Network::Rinkeby => std::env::var("ERC20_RINKEBY_GETH_ADDR")
.map(Cow::Owned)
.unwrap_or(Cow::Borrowed("http://1.geth.testnet.golem.network:55555")),
.unwrap_or(Cow::Borrowed("http://geth.testnet.golem.network:55555")),
Network::Mainnet => std::env::var("ERC20_MAINNET_GETH_ADDR")
.map(Cow::Owned)
.unwrap_or(Cow::Borrowed("https://geth.golem.network:55555")),
Expand Down

0 comments on commit 8030942

Please sign in to comment.