log "github.com/sirupsen/logrus"
- "github.com/vapor/database"
"github.com/vapor/errors"
"github.com/vapor/protocol/bc"
)
// `sync/atomic` expects the first word in an allocated struct to be 64-bit
// aligned on both ARM and x86-32. See https://goo.gl/zW7dgq for more details.
nextIndex uint64
- store database.AccountStorer
+ store AccountStorer
mtx sync.RWMutex
currentHeight func() uint64
reservations map[uint64]*reservation
}
-func newUtxoKeeper(f func() uint64, store database.AccountStorer) *utxoKeeper {
+func newUtxoKeeper(f func() uint64, store AccountStorer) *utxoKeeper {
uk := &utxoKeeper{
store: store,
currentHeight: f,