utxonursery: properly return dropped error

This commit is contained in:
Olaoluwa Osuntokun 2017-05-04 15:40:02 -07:00
parent 521c76d65a
commit dbed552d8e
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -166,6 +166,9 @@ func (u *utxoNursery) reloadPreschool() error {
return psclBucket.ForEach(func(outputBytes, kidBytes []byte) error { return psclBucket.ForEach(func(outputBytes, kidBytes []byte) error {
psclOutput, err := deserializeKidOutput(bytes.NewBuffer(kidBytes)) psclOutput, err := deserializeKidOutput(bytes.NewBuffer(kidBytes))
if err != nil {
return err
}
outpoint := psclOutput.outPoint outpoint := psclOutput.outPoint
sourceTxid := outpoint.Hash sourceTxid := outpoint.Hash