Node.js &引用;错误:无法检查交易凭证:";带有节点的Web3.js[1.0.0],使用sendSignedTransaction获取此错误

Node.js &引用;错误:无法检查交易凭证:";带有节点的Web3.js[1.0.0],使用sendSignedTransaction获取此错误,node.js,blockchain,ethereum,web3js,ether,Node.js,Blockchain,Ethereum,Web3js,Ether,下面是我试图运行的代码: w3.eth.sendSignedTransaction( data ).once( 'transactionHash', (hash) => { console.log('hash') }).once('receipt', (receipt) => { console.log('receipt'); }).on('confirmation', (confirmationNumber, receipt) => { con

下面是我试图运行的代码:

w3.eth.sendSignedTransaction( data ).once( 'transactionHash', (hash) => {
    console.log('hash')
  }).once('receipt', (receipt) => {
    console.log('receipt');
  }).on('confirmation', (confirmationNumber, receipt) => {
    console.log('confirmation');
  }).on('error', (err) => {
    console.log(err);
  }).then( (receipt) => {
    console.log('finally got the receipt!');
  })
我在执行时遇到的错误如下所示:

Error: Failed to check for transaction receipt:
{}
    at Object._fireError (/..../node_modules/web3-utils/src/index.js:56:17)
    at /..../node_modules/web3-core-method/src/index.js:260:23
    at <anonymous>
错误:检查交易凭证失败:
{}
at Object.\u firererror(/…../node\u modules/web3 utils/src/index.js:56:17)
在/…/node_modules/web3 core method/src/index.js:260:23
在

如果您能帮助解决此问题,我们将不胜感激

您正在使用哪个提供商?最近(和)有类似的问题报告,似乎与
geth
的一些早期版本有关。如果您使用的是
geth
,请确保您使用的是最新版本(从今天起为1.8.8)。@AdamKipnis在
geth
1.8.13中存在类似但不同的问题。