Skip to content

Commit

Permalink
Remove: xdai hardcoded reputation miner endpoint
Browse files Browse the repository at this point in the history
rdig committed Jul 5, 2021

Unverified

This user has not yet uploaded their public signing key.
1 parent 60026cf commit 6d560a5
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/modules/core/sagas/utils/getNetworkClient.ts
Original file line number Diff line number Diff line change
@@ -55,18 +55,6 @@ export default function* getNetworkClient() {
});
}

/*
* @TODO Temporary patch, until we figure out the proper way to handle
* the different reputation miner for Xdai QA
*/
if (DEFAULT_NETWORK === Network.Xdai) {
return yield call(getColonyNetworkClient, network, signer, {
networkAddress:
process.env.NETWORK_CONTRACT_ADDRESS || colonyNetworkAddresses[network],
reputationOracleEndpoint: 'https://qaxdai.colony.io/reputation',
});
}

return yield call(getColonyNetworkClient, network, signer, {
/*
* Manually set the network address to instantiate the network client

0 comments on commit 6d560a5

Please sign in to comment.