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
Josh Wilcox
crown-core
Commits
75dcbd23
Commit
75dcbd23
authored
12 years ago
by
Pieter Wuille
Browse files
Options
Download
Email Patches
Plain Diff
Bugfix: add missing fee check
parent
489734f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main.cpp
+3
-0
src/main.cpp
with
3 additions
and
0 deletions
+3
-0
src/main.cpp
View file @
75dcbd23
...
...
@@ -1597,6 +1597,9 @@ bool CBlock::ConnectBlock(CBlockIndex* pindex, CCoinsViewCache &view, bool fJust
blockundo
.
vtxundo
.
push_back
(
txundo
);
}
if
(
vtx
[
0
].
GetValueOut
()
>
GetBlockValue
(
pindex
->
nHeight
,
nFees
))
return
false
;
if
(
fJustCheck
)
return
true
;
...
...
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