Skip to content

Commit b76ba13

Browse files
committed
use t.context
1 parent ebdf7df commit b76ba13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

transaction/merklepath_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func TestMerklePath_Verify(t *testing.T) {
118118
Path: BRC74JSON.Path,
119119
}
120120
tracker := MyChainTracker{}
121-
ctx := context.Background()
121+
ctx := t.Context()
122122
result, err := path.VerifyHex(ctx, BRC74TXID1, tracker)
123123
require.NoError(t, err)
124124
require.True(t, result)

0 commit comments

Comments
 (0)