mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-15 23:41:04 +02:00
This commit adds a simple struct `futureMsgCache` that embeds a lru cache with the message ID. A unit test is added to check the eviction behaves as expected.