mirror of
https://github.com/LBRYFoundation/lbcd.git
synced 2025-09-01 01:35:15 +00:00
Update btcwire path import paths to new location.
This commit is contained in:
parent
80aaecd8a2
commit
d68ac86944
1 changed files with 3 additions and 3 deletions
6
cmds.go
6
cmds.go
|
@ -8,8 +8,8 @@ import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/btcsuite/btcjson"
|
"github.com/btcsuite/btcjson"
|
||||||
"github.com/btcsuite/btcwire"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Help texts
|
// Help texts
|
||||||
|
@ -717,8 +717,8 @@ type OutPoint struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewOutPointFromWire creates a new OutPoint from the OutPoint structure
|
// NewOutPointFromWire creates a new OutPoint from the OutPoint structure
|
||||||
// of the btcwire package.
|
// of the wire package.
|
||||||
func NewOutPointFromWire(op *btcwire.OutPoint) *OutPoint {
|
func NewOutPointFromWire(op *wire.OutPoint) *OutPoint {
|
||||||
return &OutPoint{
|
return &OutPoint{
|
||||||
Hash: op.Hash.String(),
|
Hash: op.Hash.String(),
|
||||||
Index: op.Index,
|
Index: op.Index,
|
||||||
|
|
Loading…
Add table
Reference in a new issue