<div dir="ltr">There is a discussion about clarifying how BIP70 signs payment requests here:<div>  <a href="https://github.com/bitcoin/bips/pull/41">https://github.com/bitcoin/bips/pull/41</a></div><div><br></div><div>The issue is what to do with the signature field before signing. The code Mike and I initially wrote does this:</div>
<div><br></div><div>    request.set_signature(string(&quot;&quot;));</div><div><br></div><div>(sets signature to the empty string)</div><div><br></div><div>I think that is a mistake; it should be:</div><div><br></div><div>
   request.clear_signature();</div><div><br></div><div>(clears signature field, so it is not serialized at all).</div><div><br></div><div>So: if you are implementing, or have implemented, the payment protocol, please chime in. I&#39;d like to change the spec and the reference implementation NOW, while BIP70 is still a &#39;Draft&#39;.</div>
<div><br></div><div>Because this type of &quot;hey, I&#39;m implementing your standard and it doesn&#39;t work the way I think it should&quot; mistake is exactly why BIPs take a while before being declared &#39;Final.&#39;</div>
<div><br clear="all"><div><br></div>-- <br>--<br>Gavin Andresen<br>
</div></div>