var transaction = web.eth.getTransaction(hash)为null,
而web.eth.getTransaction(hash,function(err,receipt){
console.log(receipt);
});不是null
相似问题