From 89a8da9dd22e176d4f65c834155e4812e872bc09 Mon Sep 17 00:00:00 2001
From: Kevan Carstensen <kevan@isnotajoke.com>
Date: Wed, 23 Sep 2009 21:19:32 -0700
Subject: [PATCH] Alter CiphertextDownloader to work with servers_of_happiness

---
 src/allmydata/immutable/download.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/allmydata/immutable/download.py b/src/allmydata/immutable/download.py
index 4b79d9b9..eb02c6aa 100644
--- a/src/allmydata/immutable/download.py
+++ b/src/allmydata/immutable/download.py
@@ -1036,7 +1036,7 @@ class CiphertextDownloader(log.PrefixingLogMixin):
             # Repairer (uploader) needs the encodingparams.
             self._target.set_encodingparams((
                 self._verifycap.needed_shares,
-                self._verifycap.total_shares, # I don't think the target actually cares about "happy".
+                0, # see ticket #778 for why this is
                 self._verifycap.total_shares,
                 self._vup.segment_size
                 ))
-- 
2.45.2