mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge 9eaef10801 into merged_master (Bitcoin PR bitcoin/bitcoin#25707)
This commit is contained in:
commit
1006327a13
28 changed files with 43 additions and 39 deletions
|
|
@ -701,7 +701,7 @@ static RPCHelpMan getblocktemplate()
|
|||
if (lpval.isStr())
|
||||
{
|
||||
// Format: <hashBestChain><nTransactionsUpdatedLast>
|
||||
std::string lpstr = lpval.get_str();
|
||||
const std::string& lpstr = lpval.get_str();
|
||||
|
||||
hashWatchedChain = ParseHashV(lpstr.substr(0, 64), "longpollid");
|
||||
nTransactionsUpdatedLastLP = LocaleIndependentAtoi<int64_t>(lpstr.substr(64));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue