diff --git a/src/gigamonkey/merkle/serialize.cpp b/src/gigamonkey/merkle/serialize.cpp index feb38251..6abe8c86 100644 --- a/src/gigamonkey/merkle/serialize.cpp +++ b/src/gigamonkey/merkle/serialize.cpp @@ -253,7 +253,6 @@ namespace Gigamonkey::BitcoinAssociation { for (const optional &z : b) { if (bool(z)) w = write_node(w, *z); else w = write_duplicate(w); - b = b.rest(); } return w; }