diff --git a/mining.go b/mining.go index 846de39a..d35db716 100644 --- a/mining.go +++ b/mining.go @@ -7,6 +7,7 @@ package btcrpcclient import ( "encoding/hex" "encoding/json" + "errors" "github.com/conformal/btcjson" "github.com/conformal/btcutil" )