File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ func TestPassingChecks(t *testing.T) {
174174func TestPassingThenFailingChecks (t * testing.T ) {
175175 require := require .New (t )
176176
177- var shouldCheckErr utils .Atomic [bool ]
177+ var shouldCheckErr atomic .Atomic [bool ]
178178 check := CheckerFunc (func (context.Context ) (interface {}, error ) {
179179 if shouldCheckErr .Get () {
180180 return errUnhealthy .Error (), errUnhealthy
Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ import (
99 "github.com/stretchr/testify/require"
1010
1111 "github.com/luxfi/constants"
12- "github.com/luxfi/utils "
12+ "github.com/luxfi/crypto "
1313)
1414
1515func TestTx (t * testing.T ) {
1616 require := require .New (t )
1717
18- tx := utils .RandomBytes (256 * constants .KiB )
18+ tx := crypto .RandomBytes (256 * constants .KiB )
1919 builtMsg := Tx {
2020 Tx : tx ,
2121 }
You can’t perform that action at this time.
0 commit comments