Contract verification fix

pull/2999/head
Victor Baranov 5 years ago
parent 7784db8996
commit 817f73da92
  1. 2
      CHANGELOG.md
  2. 10
      apps/block_scout_web/lib/block_scout_web/router.ex

@ -6,7 +6,7 @@
### Fixes
- [#2996](https://github.com/poanetwork/blockscout/pull/2996) - Fix awesomplete lib loading in Firefox
- [#2993](https://github.com/poanetwork/blockscout/pull/2993) - Fix path definition for contract verification endpoint
- [#2993](https://github.com/poanetwork/blockscout/pull/2993), [#2999](https://github.com/poanetwork/blockscout/pull/2999) - 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
else
scope "/verify_smart_contract" do
pipe_through(:api)
end
post("/contract_verifications", BlockScoutWeb.AddressContractVerificationController, :create)
end
scope "/verify_smart_contract" do
pipe_through(:api)
post("/contract_verifications", BlockScoutWeb.AddressContractVerificationController, :create)
end
if Application.get_env(:block_scout_web, WebRouter)[:enabled] do

Loading…
Cancel
Save