OpenZeppelin / workshops

Code and slides for OpenZeppelin Workshops
428 stars 277 forks source link

[Question] 01-defender-meta-txs relay has 4 arguments only 3 are used #22

Open jpiabrantes opened 2 years ago

jpiabrantes commented 2 years ago

In the AutoTask code the relay is defined with 4 arguments:

async function relay(forwarder, request, signature, whitelist)

and then it is called with 3 arguments:

const tx = await relay(forwarder, request, signature);

What sorcery is this?