Merge pull request #3005 from poanetwork/revert-2999-vb-contract-verification-fix

Revert "Contract verification fix"
pull/3009/head
Victor Baranov 5 years ago committed by GitHub
commit 7fefb6dea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      CHANGELOG.md
  2. 10
      apps/block_scout_web/lib/block_scout_web/router.ex

@ -7,7 +7,7 @@
### Fixes
- [#3007](https://github.com/poanetwork/blockscout/pull/3007) - Fix copy UTF8 tx input action
- [#2996](https://github.com/poanetwork/blockscout/pull/2996) - Fix awesomplete lib loading in Firefox
- [#2993](https://github.com/poanetwork/blockscout/pull/2993), [#2999](https://github.com/poanetwork/blockscout/pull/2999) - Fix path definition for contract verification endpoint
- [#2993](https://github.com/poanetwork/blockscout/pull/2993) - Fix path definition for contract verification endpoint
- [#2990](https://github.com/poanetwork/blockscout/pull/2990) - Fix import of Parity spec file
- [#2989](https://github.com/poanetwork/blockscout/pull/2989) - Introduce API_PATH env var
- [#2988](https://github.com/poanetwork/blockscout/pull/2988) - Fix web manifest accessibility

@ -64,12 +64,12 @@ defmodule BlockScoutWeb.Router do
post("/contract_verifications", BlockScoutWeb.AddressContractVerificationController, :create)
end
end
scope "/verify_smart_contract" do
pipe_through(:api)
else
scope "/verify_smart_contract" do
pipe_through(:api)
post("/contract_verifications", BlockScoutWeb.AddressContractVerificationController, :create)
post("/contract_verifications", BlockScoutWeb.AddressContractVerificationController, :create)
end
end
if Application.get_env(:block_scout_web, WebRouter)[:enabled] do

Loading…
Cancel
Save