mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
Change Tx to transaction in user facing error.
This commit is contained in:
parent
64568826f1
commit
5882b3c79a
3
db.go
3
db.go
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user