mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix a large number of cases where we copy construct a shared_ptr just to destroy it.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
// #define VC_DEBUG
|
||||
|
||||
bool ValidationCollection::addValidation(SerializedValidation::pointer& val)
|
||||
bool ValidationCollection::addValidation(const SerializedValidation::pointer& val)
|
||||
{
|
||||
NewcoinAddress signer = val->getSignerPublic();
|
||||
bool isCurrent = false;
|
||||
|
||||
Reference in New Issue
Block a user