mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
liquidity: test move p2wkh to const
This commit is contained in:
parent
98e6bf08c7
commit
e7b2836605
1 changed files with 2 additions and 2 deletions
|
|
@ -17,6 +17,8 @@ import (
|
|||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
const p2wkhAddr = "bcrt1qq68r6ff4k4pjx39efs44gcyccf7unqnu5qtjjz"
|
||||
|
||||
// TestAutoLoopDisabled tests the case where we need to perform a swap, but
|
||||
// autoloop is not enabled.
|
||||
func TestAutoLoopDisabled(t *testing.T) {
|
||||
|
|
@ -335,7 +337,6 @@ func TestAutoloopAddress(t *testing.T) {
|
|||
|
||||
// Decode a dummy p2wkh address to use as the destination address for
|
||||
// the swaps.
|
||||
p2wkhAddr := "bcrt1qq68r6ff4k4pjx39efs44gcyccf7unqnu5qtjjz"
|
||||
addr, err := btcutil.DecodeAddress(p2wkhAddr, nil)
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
|
|
@ -1260,7 +1261,6 @@ func TestEasyAutoloop(t *testing.T) {
|
|||
|
||||
// Decode a dummy p2wkh address to use as the destination address for
|
||||
// the swaps.
|
||||
p2wkhAddr := "bcrt1qq68r6ff4k4pjx39efs44gcyccf7unqnu5qtjjz"
|
||||
addr, err := btcutil.DecodeAddress(p2wkhAddr, nil)
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue