Update test to new API.
This commit is contained in:
parent
dd41d71a31
commit
ae25e28d7e
1 changed files with 3 additions and 2 deletions
|
@ -151,8 +151,9 @@ out:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
txshalist, _ := blk.TxShas()
|
txlist := blk.Transactions()
|
||||||
for _, txsha := range txshalist {
|
for _, tx := range txlist {
|
||||||
|
txsha := tx.Sha()
|
||||||
txReply, err := db.FetchTxBySha(txsha)
|
txReply, err := db.FetchTxBySha(txsha)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Errorf("fully spent lookup %v err %v\n", hash, err)
|
t.Errorf("fully spent lookup %v err %v\n", hash, err)
|
||||||
|
|
Loading…
Add table
Reference in a new issue