Skip to content

Commit

Permalink
Merge pull request #3005 from poanetwork/revert-2999-vb-contract-veri…
Browse files Browse the repository at this point in the history
…fication-fix

Revert "Contract verification fix"
  • Loading branch information
vbaranov committed Feb 14, 2020
2 parents 90a57ee + dd1bb18 commit 7fefb6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions apps/block_scout_web/lib/block_scout_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7fefb6d

Please sign in to comment.