Skip to content
Snippets Groups Projects
Commit 33ce97a3 authored by Mahdi Yari's avatar Mahdi Yari
Browse files

remove transaction status check

parent 21be0580
No related branches found
No related tags found
No related merge requests found
......@@ -59,13 +59,7 @@ hiveBroadcast.send = function hiveBroadcast$send(tx, privKeys, callback) {
return hiveApi.broadcastTransactionAsync(
signedTransaction
).then((result) => {
const expiration = signedTransaction.expiration
return getTransactionStatus(trxId, expiration).then(res => {
const obj = { id: trxId, status: res.status }
if (res.block_num) {
obj.block_num = res.block_num
}
return Object.assign(obj, result, signedTransaction);
return Object.assign({ id: trxId }, result, signedTransaction);
})
});
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment