mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-10-14 00:59:33 +00:00
Update test to new API.
This commit is contained in:
parent
dd41d71a31
commit
ae25e28d7e
@ -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…
x
Reference in New Issue
Block a user