utxonursery: properly return dropped error

This commit is contained in:
Olaoluwa Osuntokun committed 2017-05-04 17:39:27 -07:00
1 parent 521c76d65a
commit dbed552d8e
1 file changed
+3
+3
View File
@@ -166,6 +166,9 @@ func (u *utxoNursery) reloadPreschool() error {
return psclBucket.ForEach(func(outputBytes, kidBytes []byte) error {
psclOutput, err := deserializeKidOutput(bytes.NewBuffer(kidBytes))
if err != nil {
return err
}
outpoint := psclOutput.outPoint
sourceTxid := outpoint.Hash