Branch: refs/heads/master
  Home:   https://github.com/conformal/btcwire
  Commit: 225248d2834ff4f41d1367100f90bb228d55cfc5
      
https://github.com/conformal/btcwire/commit/225248d2834ff4f41d1367100f90bb228d55cfc5
  Author: Dave Collins <[email protected]>
  Date:   2014-09-05 (Fri, 05 Sep 2014)

  Changed paths:
    M common_test.go

  Log Message:
  -----------
  Use byte literals in tests to make go vet happy.

The go vet command complains about untagged struct initializers when
defining a ShaHash directly.  This seems to be a limitation where go vet
does not exclude the warning for types which are a constant size byte array
like it does for normal constant size byte array definition.

This commit simply modifies the tests to use a constant definition cast to a
ShaHash to overcome the limitation of go vet.


Reply via email to