This commit is contained in:
Dave Collins 2013-10-13 13:02:45 -05:00
parent 1f87ee217a
commit 2ec9511891
3 changed files with 5 additions and 6 deletions

View File

@ -10,10 +10,10 @@ import (
"github.com/conformal/btcdb"
"github.com/conformal/btcutil"
"github.com/conformal/btcwire"
"github.com/conformal/seelog"
"github.com/conformal/goleveldb/leveldb"
"github.com/conformal/goleveldb/leveldb/cache"
"github.com/conformal/goleveldb/leveldb/opt"
"github.com/conformal/seelog"
"os"
"runtime"
"sync"

View File

@ -308,7 +308,6 @@ func (db *SqliteDb) FetchTxBySha(txsha *btcwire.ShaHash) ([]*btcdb.TxListReply,
txc.blksha = *blksha
db.insertTxCache(&txc)
btxspent := make([]bool, len(tx.TxOut), len(tx.TxOut))
for idx := range tx.TxOut {
byteidx := idx / 8