lhartikk/naivecoin

Error in file transactionPool.js

gentleKun opened this issue · 0 comments

Hi,
I have cloned your code in my environment and follow the readme ,when i type npm start ,some errors were found.:
/var/www/test/naivecoin/src/transactionPool.js:39
transactionPool = _.without(transactionPool, ...invalidTxs);
SyntaxError: Unexpected token ...

What is wrong with it ?Why there is '...' in front of 'invalidTxs',please help me.