Update ldb tests for latest API error changes.
This commit is contained in:
parent
d6945f94e6
commit
2a688a70b2
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue