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()
|
||||
for _, txsha := range txshalist {
|
||||
txlist := blk.Transactions()
|
||||
for _, tx := range txlist {
|
||||
txsha := tx.Sha()
|
||||
txReply, err := db.FetchTxBySha(txsha)
|
||||
if err != nil {
|
||||
t.Errorf("fully spent lookup %v err %v\n", hash, err)
|
||||
|
|
Loading…
Reference in a new issue