tests: Avoid copies of CTransaction

This commit is contained in:
MarcoFalke
2018-04-11 13:51:28 -04:00
parent b1fdfc1a8c
commit fae58eca93
10 changed files with 39 additions and 35 deletions

View File

@@ -9,7 +9,7 @@
#include <list>
#include <vector>
static void AddTx(const CTransaction& tx, const CAmount& nFee, CTxMemPool& pool)
static void AddTx(const CMutableTransaction& tx, const CAmount& nFee, CTxMemPool& pool)
{
int64_t nTime = 0;
unsigned int nHeight = 1;