From ce9e8aa2640c709e36df8fd51ccc6dd6400ae72a Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 1 May 2015 00:48:01 -0500 Subject: [PATCH] Update btcjson path import paths to new location. --- chain.go | 2 +- examples/btcwalletwebsockets/main.go | 1 + extensions.go | 2 +- infrastructure.go | 2 +- mining.go | 2 +- net.go | 2 +- notify.go | 2 +- rawrequest.go | 2 +- rawtransactions.go | 2 +- wallet.go | 2 +- 10 files changed, 10 insertions(+), 9 deletions(-) diff --git a/chain.go b/chain.go index aae6f05a2..b59ba636c 100644 --- a/chain.go +++ b/chain.go @@ -9,7 +9,7 @@ import ( "encoding/hex" "encoding/json" - "github.com/btcsuite/btcd/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson" "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcutil" ) diff --git a/examples/btcwalletwebsockets/main.go b/examples/btcwalletwebsockets/main.go index 388339318..8db235a4f 100644 --- a/examples/btcwalletwebsockets/main.go +++ b/examples/btcwalletwebsockets/main.go @@ -5,6 +5,7 @@ package main import ( + "fmt" "io/ioutil" "log" "path/filepath" diff --git a/extensions.go b/extensions.go index d30f370d5..af69de34a 100644 --- a/extensions.go +++ b/extensions.go @@ -9,7 +9,7 @@ import ( "encoding/json" "fmt" - "github.com/btcsuite/btcd/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson" "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcutil" ) diff --git a/infrastructure.go b/infrastructure.go index 42ab5290f..a97c1acbe 100644 --- a/infrastructure.go +++ b/infrastructure.go @@ -21,7 +21,7 @@ import ( "sync/atomic" "time" - "github.com/btcsuite/btcd/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson" "github.com/btcsuite/go-socks/socks" "github.com/btcsuite/websocket" ) diff --git a/mining.go b/mining.go index e64504d83..83343dee7 100644 --- a/mining.go +++ b/mining.go @@ -9,7 +9,7 @@ import ( "encoding/json" "errors" - "github.com/btcsuite/btcd/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson" "github.com/btcsuite/btcutil" ) diff --git a/net.go b/net.go index b843c98f6..bd25d3ed0 100644 --- a/net.go +++ b/net.go @@ -7,7 +7,7 @@ package btcrpcclient import ( "encoding/json" - "github.com/btcsuite/btcd/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson" ) // AddNodeCommand enumerates the available commands that the AddNode function diff --git a/notify.go b/notify.go index 000125f59..1137c87e9 100644 --- a/notify.go +++ b/notify.go @@ -13,7 +13,7 @@ import ( "sync" "time" - "github.com/btcsuite/btcd/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson" "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcutil" ) diff --git a/rawrequest.go b/rawrequest.go index 95aeeeaaf..24e129eba 100644 --- a/rawrequest.go +++ b/rawrequest.go @@ -8,7 +8,7 @@ import ( "encoding/json" "errors" - "github.com/btcsuite/btcd/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson" ) // FutureRawResult is a future promise to deliver the result of a RawRequest RPC diff --git a/rawtransactions.go b/rawtransactions.go index 8736847c7..c9d8a0b56 100644 --- a/rawtransactions.go +++ b/rawtransactions.go @@ -9,7 +9,7 @@ import ( "encoding/hex" "encoding/json" - "github.com/btcsuite/btcd/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson" "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcutil" ) diff --git a/wallet.go b/wallet.go index 5a6465640..d89387721 100644 --- a/wallet.go +++ b/wallet.go @@ -8,7 +8,7 @@ import ( "encoding/json" "strconv" - "github.com/btcsuite/btcd/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/wire"