mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-10-14 00:59: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"
|
"github.com/conformal/btcwire"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Errors that the various database functions may return.
|
||||||
var (
|
var (
|
||||||
PrevShaMissing = errors.New("Previous sha missing from database")
|
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")
|
DuplicateSha = errors.New("Duplicate insert attempted")
|
||||||
DbDoesNotExist = errors.New("Non-existent database")
|
DbDoesNotExist = errors.New("Non-existent database")
|
||||||
DbUnknownType = errors.New("Non-existent database type")
|
DbUnknownType = errors.New("Non-existent database type")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user