From 79727f4e6f993755df77f1bed06305947ff90c46 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 15 Jun 2020 14:24:49 -0700 Subject: [PATCH] walletdb: eliminate old bbolt ref by using uniform import path --- walletdb/bdb/db.go | 2 +- walletdb/go.mod | 3 +-- walletdb/go.sum | 2 -- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/walletdb/bdb/db.go b/walletdb/bdb/db.go index cf3fc2e..2408fad 100644 --- a/walletdb/bdb/db.go +++ b/walletdb/bdb/db.go @@ -9,7 +9,7 @@ import ( "os" "github.com/btcsuite/btcwallet/walletdb" - "github.com/coreos/bbolt" + "go.etcd.io/bbolt" ) // convertErr converts some bolt errors to the equivalent walletdb error. diff --git a/walletdb/go.mod b/walletdb/go.mod index 119c172..f5ca20b 100644 --- a/walletdb/go.mod +++ b/walletdb/go.mod @@ -4,7 +4,6 @@ go 1.12 require ( github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f - github.com/coreos/bbolt v1.3.3 github.com/davecgh/go-spew v1.1.1 - go.etcd.io/bbolt v1.3.5-0.20200615073812-232d8fc87f50 // indirect + go.etcd.io/bbolt v1.3.5-0.20200615073812-232d8fc87f50 ) diff --git a/walletdb/go.sum b/walletdb/go.sum index 4b2d898..28549da 100644 --- a/walletdb/go.sum +++ b/walletdb/go.sum @@ -1,7 +1,5 @@ github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f h1:bAs4lUbRJpnnkd9VhRV3jjAVU7DJVjMaK+IsvSeZvFo= github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f/go.mod h1:TdznJufoqS23FtqVCzL0ZqgP5MqXbb4fg/WgDys70nA= -github.com/coreos/bbolt v1.3.3 h1:n6AiVyVRKQFNb6mJlwESEvvLoDyiTzXX7ORAUlkeBdY= -github.com/coreos/bbolt v1.3.3/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= go.etcd.io/bbolt v1.3.5-0.20200615073812-232d8fc87f50 h1:ASw9n1EHMftwnP3Az4XW6e308+gNsrHzmdhd0Olz9Hs=