File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import (
1919 "github.com/elementsproject/peerswap/swap"
2020
2121 "github.com/vulpemventures/go-elements/address"
22- address2 "github.com/vulpemventures/go-elements/address"
2322 "github.com/vulpemventures/go-elements/elementsutil"
2423 "github.com/vulpemventures/go-elements/network"
2524 "github.com/vulpemventures/go-elements/payment"
@@ -505,7 +504,7 @@ func (b *LiquidOnChain) GetOutputScript(params *swap.OpeningParams) ([]byte, err
505504 if err != nil {
506505 return nil , err
507506 }
508- wantBytes , err := address2 .ToOutputScript (wantAddr )
507+ wantBytes , err := address .ToOutputScript (wantAddr )
509508 if err != nil {
510509 return nil , err
511510 }
@@ -517,7 +516,7 @@ func (l *LiquidOnChain) FindVout(outputs []*transaction.TxOutput, redeemScript [
517516 if err != nil {
518517 return 0 , err
519518 }
520- wantBytes , err := address2 .ToOutputScript (wantAddr )
519+ wantBytes , err := address .ToOutputScript (wantAddr )
521520 if err != nil {
522521 return 0 , err
523522 }
You can’t perform that action at this time.
0 commit comments