Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcd
  Commit: 83bcfcb2ca3cbb17513b50619f5b3d1907982d71
      
https://github.com/btcsuite/btcd/commit/83bcfcb2ca3cbb17513b50619f5b3d1907982d71
  Author: Dave Collins <[email protected]>
  Date:   2015-08-29 (Sat, 29 Aug 2015)

  Changed paths:
    M mruinvmap.go
    M mruinvmap_test.go

  Log Message:
  -----------
  Improve mru inventory map and test cov to 100%.

This commit improves the most-recently used inventory map human readable
string to only show the inventory vectors. and adds tests for the entire
structure to bring its coverage to 100%.

In addition, removes the type assertion check in the Add function since
the internal inventory list is only managed by the type itself and the
tests would now catch any mistakes in the type of entries in the list.


Reply via email to