Clean up POS checks

This commit is contained in:
miketout
2018-10-12 01:12:08 -07:00
parent a8d2188651
commit 8c3a9bc7ae
4 changed files with 23 additions and 34 deletions

View File

@@ -15,6 +15,7 @@
#include <vector>
#include "streams.h"
#include "primitives/transaction.h"
#include "script/script.h"
#include "uint256.h"
@@ -34,6 +35,13 @@ class CTxHolder
hw << tx.vin[0].prevout.n;
utxo = hw.GetHash();
}
CTxHolder& operator=(const CTxHolder& txh)
{
utxo = txh.utxo;
height = txh.height;
tx = txh.tx;
}
};