Skip to content

Commit 918b6c4

Browse files
fix: use standard context package
Signed-off-by: Marcus Brandenburger <bur@zurich.ibm.com>
1 parent 3bc3ea8 commit 918b6c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ require (
5555
go.uber.org/goleak v1.3.0
5656
go.uber.org/zap v1.27.0
5757
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c
58-
golang.org/x/net v0.42.0
5958
golang.org/x/sync v0.16.0
6059
golang.org/x/text v0.27.0
6160
google.golang.org/grpc v1.76.0
@@ -293,6 +292,7 @@ require (
293292
golang.org/x/arch v0.11.0 // indirect
294293
golang.org/x/crypto v0.40.0 // indirect
295294
golang.org/x/mod v0.25.0 // indirect
295+
golang.org/x/net v0.42.0 // indirect
296296
golang.org/x/oauth2 v0.30.0 // indirect
297297
golang.org/x/sys v0.36.0 // indirect
298298
golang.org/x/time v0.8.0 // indirect

platform/fabricx/core/transaction/transaction.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ package transaction
88

99
import (
1010
"bytes"
11+
"context"
1112
"encoding/json"
1213
"fmt"
1314

@@ -24,7 +25,6 @@ import (
2425
"github.com/hyperledger/fabric-x-common/protoutil"
2526
"go.opentelemetry.io/otel/trace"
2627
"go.uber.org/zap/zapcore"
27-
"golang.org/x/net/context"
2828
)
2929

3030
var logger = logging.MustGetLogger()

0 commit comments

Comments
 (0)