Allow var def to infer type from right-hand side.
Found by golint.
This commit is contained in:
parent
43095c66bc
commit
ad7e3894c7
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ func TestBlockErrors(t *testing.T) {
|
|||
|
||||
// Block100000 defines block 100,000 of the block chain. It is used to
|
||||
// test Block operations.
|
||||
var Block100000 btcwire.MsgBlock = btcwire.MsgBlock{
|
||||
var Block100000 = btcwire.MsgBlock{
|
||||
Header: btcwire.BlockHeader{
|
||||
Version: 1,
|
||||
PrevBlock: btcwire.ShaHash([32]byte{ // Make go vet happy.
|
||||
|
|
Loading…
Add table
Reference in a new issue