Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Commit e79e59c

Browse files
committed
fixed bad import
1 parent 74ece75 commit e79e59c

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.github/workflows/test.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
test-nocache:
55
strategy:
66
matrix:
7-
go-version: [1.20.x]
7+
go-version: [1.21.x]
88
os: [ubuntu-latest, macos-latest, windows-latest]
99
runs-on: ${{ matrix.os }}
1010
steps:
@@ -21,5 +21,5 @@ jobs:
2121
- uses: actions/checkout@v3
2222
- uses: actions/setup-go@v4
2323
with:
24-
go-version: 1.20.x
24+
go-version: 1.21.x
2525
- run: go test ./...

.gitignore

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1-
.idea/
2-
.DS_Store
1+
*
2+
!*.*
3+
!*/
4+
5+
*.idea/
6+
.DS_Store
7+
vendor/

qubic-node-fetcher

-6.74 MB
Binary file not shown.

reliable.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func (rp *reliablePeers) getPeerCurrentTick(peer string) (int, error) {
110110
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second)
111111
defer cancel()
112112

113-
qc, err := qubic.NewConnection(ctx, peer, "21841")
113+
qc, err := qubic.NewClient(ctx, peer, "21841")
114114
if err != nil {
115115
return 0, errors.Wrap(err, "creating qubic connection")
116116
}

0 commit comments

Comments
 (0)