Update the insertfail test for the latest changes.
This commit is contained in:
parent
8062889d04
commit
519e183151
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ out:
|
||||||
}
|
}
|
||||||
if height == 248 {
|
if height == 248 {
|
||||||
for _, tx := range mblock.Transactions {
|
for _, tx := range mblock.Transactions {
|
||||||
txsha, err := tx.TxSha(block.ProtocolVersion())
|
txsha, err := tx.TxSha()
|
||||||
_, _, _, _, err = db.FetchTxAllBySha(&txsha)
|
_, _, _, _, err = db.FetchTxAllBySha(&txsha)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
t.Errorf("referenced tx found, should not have been %v, ", txsha)
|
t.Errorf("referenced tx found, should not have been %v, ", txsha)
|
||||||
|
|
Loading…
Reference in a new issue