Skip to content

Commit

Permalink
fix transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
nearnshaw committed Jun 16, 2020
1 parent adc74aa commit 1c41805
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion POAP-booth/bin/game.js

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions POAP-booth/src/poapHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,14 @@ export async function makeTransaction() {

const poapTokenFactory = await new eth.ContractFactory(rm, poapContract)
const PoapDelegatedMint = (await poapTokenFactory.at(
//ropsten: '0x2f3c23b50396EcB55C73956B069CF04e493bdEf9'
//ropsten
//'0x2f3c23b50396EcB55C73956B069CF04e493bdEf9'
//mainnet
'0xAac2497174f2Ec4069A98375A67D798db8a05337'
)) as any

await PoapDelegatedMint.mintToken(event, userId, signature, {
from: poapSignerAddress,
from: userData.userId,
}).then(sceneMessageBus.emit('activatePoap', {}))

return
Expand Down

0 comments on commit 1c41805

Please sign in to comment.