Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Dec 7, 2023
1 parent f1de967 commit dee3153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prover/db/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func Test_BuildBlockKey(t *testing.T) {

func Test_BuildBlockValue(t *testing.T) {
v := BuildBlockValue([]byte("hash"), []byte("sig"), big.NewInt(1))
spl := bytes.Split(v, []byte("-"))
spl := bytes.Split(v, []byte(separator))
assert.Equal(t, "hash", string(spl[0]))
assert.Equal(t, "sig", string(spl[1]))
assert.Equal(t, uint64(1), new(big.Int).SetBytes(spl[2]).Uint64())
Expand Down

0 comments on commit dee3153

Please sign in to comment.