Clean up POS checks
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user