Change Tx to transaction in user facing error.

This commit is contained in:
Dave Collins 2013-05-31 14:07:48 -05:00
parent 64568826f1
commit 5882b3c79a

3
db.go
View file

@ -10,9 +10,10 @@ import (
"github.com/conformal/btcwire"
)
// Errors that the various database functions may return.
var (
PrevShaMissing = errors.New("Previous sha missing from database")
TxShaMissing = errors.New("Requested Tx does not exist")
TxShaMissing = errors.New("Requested transaction does not exist")
DuplicateSha = errors.New("Duplicate insert attempted")
DbDoesNotExist = errors.New("Non-existent database")
DbUnknownType = errors.New("Non-existent database type")