mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Improved efficiency in COutPoint constructors
This commit is contained in:
parent
4c924011f5
commit
4fbae77929
@ -22,8 +22,8 @@ public:
|
||||
uint256 hash;
|
||||
uint32_t n;
|
||||
|
||||
COutPoint() { SetNull(); }
|
||||
COutPoint(uint256 hashIn, uint32_t nIn) { hash = hashIn; n = nIn; }
|
||||
COutPoint(): n((uint32_t) -1) { }
|
||||
COutPoint(const uint256& hashIn, uint32_t nIn): hash(hashIn), n(nIn) { }
|
||||
|
||||
ADD_SERIALIZE_METHODS;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user