Update the insertfail test for the latest changes.

This commit is contained in:
Dave Collins 2013-08-06 11:48:23 -05:00
parent 8062889d04
commit 519e183151

View file

@ -107,7 +107,7 @@ out:
}
if height == 248 {
for _, tx := range mblock.Transactions {
txsha, err := tx.TxSha(block.ProtocolVersion())
txsha, err := tx.TxSha()
_, _, _, _, err = db.FetchTxAllBySha(&txsha)
if err == nil {
t.Errorf("referenced tx found, should not have been %v, ", txsha)