Skip to content

Commit

Permalink
dispute: update variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
abarmat committed May 8, 2020
1 parent 14d62c5 commit b1bec82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/lib/attestation.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const Account = require('eth-lib/lib/account')

function createReceipt(subgraphId) {
const attestation = {
const receipt = {
requestCID: web3.utils.randomHex(32),
responseCID: web3.utils.randomHex(32),
subgraphId: subgraphId,
Expand All @@ -10,7 +10,7 @@ function createReceipt(subgraphId) {
// ABI encoded
return web3.eth.abi.encodeParameters(
['bytes32', 'bytes32', 'bytes32'],
[attestation.requestCID, attestation.responseCID, attestation.subgraphId],
[receipt.requestCID, receipt.responseCID, receipt.subgraphId],
)
}

Expand Down

0 comments on commit b1bec82

Please sign in to comment.