Skip to content

Commit

Permalink
Change api/CotractVerification, deployedBytecode
Browse files Browse the repository at this point in the history
- Remove deployedBytecode from verification payload
  • Loading branch information
emiliorizzo committed Feb 4, 2021
1 parent 93ce54d commit 0d06fbd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/api/modules/ContractVerification.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,13 @@ export class ContractVerification extends DataCollectorItem {

// TODO Check if has pending verifications

const { creationCode, code } = data
// const { creationCode, code } = data
const { creationCode } = data
if (!creationCode) throw new Error404('Contract creation data not found')

// Contract verifier payload
request.bytecode = creationCode
request.deployedBytecode = code
// request.deployedBytecode = code
request._id = getVerificationId(request)
return { data: request }
} catch (err) {
Expand Down

0 comments on commit 0d06fbd

Please sign in to comment.