File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ import (
1717 "github.com/stretchr/testify/require"
1818)
1919
20+ const p2wkhAddr = "bcrt1qq68r6ff4k4pjx39efs44gcyccf7unqnu5qtjjz"
21+
2022// TestAutoLoopDisabled tests the case where we need to perform a swap, but
2123// autoloop is not enabled.
2224func TestAutoLoopDisabled (t * testing.T ) {
@@ -335,7 +337,6 @@ func TestAutoloopAddress(t *testing.T) {
335337
336338 // Decode a dummy p2wkh address to use as the destination address for
337339 // the swaps.
338- p2wkhAddr := "bcrt1qq68r6ff4k4pjx39efs44gcyccf7unqnu5qtjjz"
339340 addr , err := btcutil .DecodeAddress (p2wkhAddr , nil )
340341 if err != nil {
341342 t .Error (err )
@@ -1260,7 +1261,6 @@ func TestEasyAutoloop(t *testing.T) {
12601261
12611262 // Decode a dummy p2wkh address to use as the destination address for
12621263 // the swaps.
1263- p2wkhAddr := "bcrt1qq68r6ff4k4pjx39efs44gcyccf7unqnu5qtjjz"
12641264 addr , err := btcutil .DecodeAddress (p2wkhAddr , nil )
12651265 if err != nil {
12661266 t .Error (err )
You can’t perform that action at this time.
0 commit comments