Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tom
crown-core
Commits
1cf56c62
Commit
1cf56c62
authored
6 years ago
by
Volodymyr Shamray
Browse files
Options
Download
Email Patches
Plain Diff
Remove C++11-specific features
parent
5896c616
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/masternode-budget.cpp
+1
-1
src/masternode-budget.cpp
src/test/governance-test.cpp
+1
-1
src/test/governance-test.cpp
with
2 additions
and
2 deletions
+2
-2
src/masternode-budget.cpp
View file @
1cf56c62
...
...
@@ -1250,7 +1250,7 @@ void CBudgetManager::Sync(CNode* pfrom, uint256 nProp, bool fPartial)
bool
CBudgetManager
::
SubmitProposalVote
(
const
CBudgetVote
&
vote
,
std
::
string
&
strError
)
{
map
<
uint256
,
CBudgetProposal
>::
const_
iterator
found
=
mapProposals
.
find
(
vote
.
nProposalHash
);
map
<
uint256
,
CBudgetProposal
>::
iterator
found
=
mapProposals
.
find
(
vote
.
nProposalHash
);
if
(
found
==
std
::
end
(
mapProposals
))
{
strError
=
"Proposal not found!"
;
...
...
This diff is collapsed.
Click to expand it.
src/test/governance-test.cpp
View file @
1cf56c62
...
...
@@ -37,7 +37,7 @@ namespace
CKey
CreateKeyPair
(
std
::
vector
<
unsigned
char
>
privKey
)
{
CKey
keyPair
;
keyPair
.
Set
(
std
::
begin
(
privKey
),
std
::
end
(
privKey
),
true
);
keyPair
.
Set
(
privKey
.
begin
(),
privKey
.
end
(
),
true
);
return
keyPair
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment