Commit 23a53ee 1 parent 58a93ad commit 23a53ee Copy full SHA for 23a53ee
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ import (
17
17
"github.com/stretchr/testify/require"
18
18
)
19
19
20
+ const p2wkhAddr = "bcrt1qq68r6ff4k4pjx39efs44gcyccf7unqnu5qtjjz"
21
+
20
22
// TestAutoLoopDisabled tests the case where we need to perform a swap, but
21
23
// autoloop is not enabled.
22
24
func TestAutoLoopDisabled (t * testing.T ) {
@@ -335,7 +337,6 @@ func TestAutoloopAddress(t *testing.T) {
335
337
336
338
// Decode a dummy p2wkh address to use as the destination address for
337
339
// the swaps.
338
- p2wkhAddr := "bcrt1qq68r6ff4k4pjx39efs44gcyccf7unqnu5qtjjz"
339
340
addr , err := btcutil .DecodeAddress (p2wkhAddr , nil )
340
341
if err != nil {
341
342
t .Error (err )
@@ -1260,7 +1261,6 @@ func TestEasyAutoloop(t *testing.T) {
1260
1261
1261
1262
// Decode a dummy p2wkh address to use as the destination address for
1262
1263
// the swaps.
1263
- p2wkhAddr := "bcrt1qq68r6ff4k4pjx39efs44gcyccf7unqnu5qtjjz"
1264
1264
addr , err := btcutil .DecodeAddress (p2wkhAddr , nil )
1265
1265
if err != nil {
1266
1266
t .Error (err )
You can’t perform that action at this time.
0 commit comments