AthanorLabs / atomic-swap

💫 ETH-XMR atomic swap implementation
GNU Lesser General Public License v3.0
345 stars 44 forks source link

only perform contract code check if non-hardcoded address is used #416

Open noot opened 1 year ago

noot commented 1 year ago

as title says, we should only perform the contract code check on startup if the contract used isn't the one hard-coded into our network config. firstly I'm sick of redeploying the sepolia contract each time a comment is changed :p and also release-wise, we can't deploy the mainnet contract each time the contract has a minor update, so master would break if we code-check the hardcoded contract.