Update btcwire path import paths to new location.

This commit is contained in:
Dave Collins 2015-02-05 15:02:20 -06:00
parent 80aaecd8a2
commit d68ac86944

View file

@ -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,