diff options
| author | Matt Corallo <[email protected]> | 2016-04-25 17:04:13 -0700 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2016-06-19 01:34:57 -0700 |
| commit | f4f8f14adc79f71eb3cfd3a8d6dbfe9878d1e3f6 (patch) | |
| tree | fb02f4cc670a389ad47495fdc4c94c73776eeba7 /src/test/test_bitcoin.h | |
| parent | Add partial-block block encodings API (diff) | |
| download | discoin-f4f8f14adc79f71eb3cfd3a8d6dbfe9878d1e3f6.tar.xz discoin-f4f8f14adc79f71eb3cfd3a8d6dbfe9878d1e3f6.zip | |
Add TestMemPoolEntryHelper::FromTx version for CTransaction
Diffstat (limited to 'src/test/test_bitcoin.h')
| -rw-r--r-- | src/test/test_bitcoin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_bitcoin.h b/src/test/test_bitcoin.h index 57f66f6c6..78b87e710 100644 --- a/src/test/test_bitcoin.h +++ b/src/test/test_bitcoin.h @@ -78,6 +78,7 @@ struct TestMemPoolEntryHelper hadNoDependencies(false), spendsCoinbase(false), sigOpCount(1) { } CTxMemPoolEntry FromTx(CMutableTransaction &tx, CTxMemPool *pool = NULL); + CTxMemPoolEntry FromTx(CTransaction &tx, CTxMemPool *pool = NULL); // Change the default value TestMemPoolEntryHelper &Fee(CAmount _fee) { nFee = _fee; return *this; } |