dsrvlabs / czg-keremony

JavaScript-based client to participate in Ethereum KZG Ceremony
https://dsrv.com
MIT License
13 stars 4 forks source link

Fix typo sequencerClient.js #36

Closed niooss-ledger closed 1 year ago

niooss-ledger commented 1 year ago

Sending the contribution failed with:

[ info ] Send contributions
[ error ] contribute err Request failed with status code 400
/host/sequencerclient/sequencerClient.js:89
                status: err.resposne.status,
                                     ^

TypeError: Cannot read properties of undefined (reading 'status')
    at Sequencer.contribute (/git/sequencerclient/sequencerClient.js:89:38)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async send_contribute (/host/index.js:172:21)
    at async Command.<anonymous> (/host/index.js:55:25)

Not being able to display the error message was due to using err.resposne instead of err.response.