Update ldb tests for latest API error changes.

This commit is contained in:
Dave Collins 2014-09-20 00:47:20 -05:00
parent d6945f94e6
commit 2a688a70b2

View file

@ -154,7 +154,7 @@ out:
listReply = db.FetchUnSpentTxByShaList(fetchList)
for _, lr := range listReply {
if lr.Err != btcdb.TxShaMissing {
if lr.Err != btcdb.ErrTxShaMissing {
t.Errorf("sha %v spent %v err %v\n", lr.Sha,
lr.TxSpent, lr.Err)
}