From 5882b3c79a805467b975313cbb0f46c5b7a74f83 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 31 May 2013 14:07:48 -0500 Subject: [PATCH] Change Tx to transaction in user facing error. --- db.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/db.go b/db.go index d7e5b4d8..8d8aaf38 100644 --- a/db.go +++ b/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")