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

  Changed paths:
    M genesis.go

  Log Message:
  -----------
  Use byte literals 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 code to use a constant definition cast to
a ShaHash to overcome the limitation of go vet.


Reply via email to