// If length of pendingTransactions is greater than TxPoolLimit then by greedy take the TxPoolLimit recent transactions.
iflen(node.pendingTransactions)>TxPoolLimit{
utils.GetLogInstance().Error("Got more transactions than expected and this could caused OOM","num",len(newTxs),"totalPending",len(node.pendingTransactions))
utils.GetLogInstance().Warn("Got more transactions than expected and this could caused OOM","num",len(newTxs),"totalPending",len(node.pendingTransactions))