On Sun, Sep 4, 2011 at 1:52 AM, Chris Double <chris.dou...@double.co.nz> wrote: > So was the intent to use the CWalletTxn size, and the casting is > superfluous, or was it supposed to be the CTransaction* portion and > the cast is an incorrect way of doing that? Or am I suffering from > late night programmer syndrome and reading it wrong?
After a discussion on #bitcoin-dev it is indeed the latter. I was under the mistaken believe that the GetSerializeSize method in CTransaction and CWalletTxn were virtual, which would result in the behavior I was thinking of. But they're not so it works. Please disregard! Chris. -- http://www.bluishcoder.co.nz ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Bitcoin-development mailing list Bitcoin-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bitcoin-development