Get address from mempool for prevout not in db

This fixes transactions from memorypool with inputs also in memorypool not being processed