From 0a83c0fcef87e34e3e0f05580fa2c1ad9208c367 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Tue, 17 Apr 2012 20:37:47 +0200 Subject: Fix tests after recent refactors --- src/test/DoS_tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/DoS_tests.cpp') diff --git a/src/test/DoS_tests.cpp b/src/test/DoS_tests.cpp index 0b89414048..c0b00102a0 100644 --- a/src/test/DoS_tests.cpp +++ b/src/test/DoS_tests.cpp @@ -168,7 +168,7 @@ BOOST_AUTO_TEST_CASE(DoS_mapOrphans) tx.vout[0].nValue = 1*CENT; tx.vout[0].scriptPubKey.SetBitcoinAddress(key.GetPubKey()); - CDataStream ds; + CDataStream ds(SER_DISK, CLIENT_VERSION); ds << tx; AddOrphanTx(ds); } @@ -187,7 +187,7 @@ BOOST_AUTO_TEST_CASE(DoS_mapOrphans) tx.vout[0].scriptPubKey.SetBitcoinAddress(key.GetPubKey()); SignSignature(keystore, txPrev, tx, 0); - CDataStream ds; + CDataStream ds(SER_DISK, CLIENT_VERSION); ds << tx; AddOrphanTx(ds); } -- cgit v1.2.3