diff --git a/uspv/mblock.go b/uspv/mblock.go index 6200f0c2..dc71608c 100644 --- a/uspv/mblock.go +++ b/uspv/mblock.go @@ -77,9 +77,6 @@ func checkMBlock(m *wire.MsgMerkleBlock) ([]*wire.ShaHash, error) { if len(m.Flags) == 0 { return nil, fmt.Errorf("No flag bits") } - if len(m.Hashes) < 2 { // nothing but the merkle root - return nil, nil // nothin. - } var s []merkleNode // the stack var r []*wire.ShaHash // slice to return; txids we care about diff --git a/uspv/txstore.go b/uspv/txstore.go index b847479c..02f6f73b 100644 --- a/uspv/txstore.go +++ b/uspv/txstore.go @@ -5,6 +5,8 @@ import ( "fmt" "log" + "li.lan/labs/uwallet" + "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil/bloom" @@ -72,6 +74,7 @@ func (t *TxStore) IngestTx(tx *wire.MsgTx) error { inTxid := tx.TxSha() height, ok := t.OKTxids[inTxid] if !ok { + log.Printf("False postive tx? %s", uwallet.TxToString(tx)) return fmt.Errorf("we don't care about tx %s", inTxid.String()) }