Open technickal1 opened 3 years ago
For using ts-node
ts-node
Instead of console.log(await blockChainState.blockchain_state.space);
console.log(await blockChainState.blockchain_state.space);
call with .then to prevent Promise { <pending> }
Promise { <pending> }
console.log(blockchain) blockchain.then(function(fullNode) { console.log(fullNode) })
For using
ts-node
Instead of
console.log(await blockChainState.blockchain_state.space);
call with .then to prevent
Promise { <pending> }