@@ -1064,8 +1064,7 @@ export default class Transaction {
});
})
.then(transaction=>resolve(_.cloneDeep(transaction)))/*TODO: addTransactionFromObject is deleting address from output and input object. that is changing the cachedItem. we should not change the object. now we are creating a clone (refactor)*/
.catch((e)=>{
console.log('[transaction-object] cannot get transaction with id',transactionID,'err:',e);
.catch(()=>{
resolve(null);
});
});
...
...
@@ -2701,14 +2700,14 @@ export default class Transaction {
if(transaction.shard_id==='AyAC3kjLtjM4vktAJ5Xq6mbXKjzEqXoSsmGhhgjnkXUvjtF2M'){/* do not prune this special shard id. TODO: refactor and activate shard */