Skip to content

Commit

Permalink
fix UT for bitcoin wired reverse hash
Browse files Browse the repository at this point in the history
  • Loading branch information
auxten committed May 4, 2018
1 parent bdc7ca6 commit 0bceb0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crypto/hash/hash_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,10 @@ func TestHash_Difficulty(t *testing.T) {
}{
{
Hash([HashSize]byte{ // Make go vet happy.
0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
}),
7,
},
Expand All @@ -244,10 +244,10 @@ func TestHash_Difficulty(t *testing.T) {
},
{
Hash([HashSize]byte{ // Make go vet happy.
0x00, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x00,
}),
8,
},
Expand Down

0 comments on commit 0bceb0d

Please sign in to comment.