mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Avoid copying and improve optimization opportunities
This commit is contained in:
committed by
Tom Ritchford
parent
b4058a813b
commit
f072b5b679
@@ -616,7 +616,8 @@ bool Ledger::getMetaHex (uint256 const& transID, std::string& hex) const
|
||||
return true;
|
||||
}
|
||||
|
||||
uint256 Ledger::getHash ()
|
||||
uint256 const&
|
||||
Ledger::getHash ()
|
||||
{
|
||||
if (!mValidHash)
|
||||
updateHash ();
|
||||
|
||||
Reference in New Issue
Block a user