Skip to content

Commit 8724af0

Browse files
committed
[Build] Fix multi-line comment warning
Comment lines that start with `//` and end with a `\` will generate a compiler warning on some compilers with `-Wcomment` enabled. Fix by making this a block comment.
1 parent 87019e7 commit 8724af0

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

src/wallet/test/pos_validations_tests.cpp

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -202,17 +202,18 @@ BOOST_FIXTURE_TEST_CASE(created_on_fork_tests, TestPoSChainSetup)
202202
BOOST_CHECK(ProcessNewBlock(pblock, nullptr));
203203
}
204204

205-
// Chains diagram:
206-
// A -- B -- C -- D -- E -- F -- G -- H -- I
207-
// \
208-
// -- D1 -- E1 -- F1
209-
// \
210-
// -- E2 -- F2
211-
// \
212-
// -- D3 -- E3 -- F3
213-
// \
214-
// -- F3_1 -- G3 -- H3 -- I3
215-
205+
/*
206+
Chains diagram:
207+
A -- B -- C -- D -- E -- F -- G -- H -- I
208+
\
209+
-- D1 -- E1 -- F1
210+
\
211+
-- E2 -- F2
212+
\
213+
-- D3 -- E3 -- F3
214+
\
215+
-- F3_1 -- G3 -- H3 -- I3
216+
*/
216217

217218
// Tests:
218219
// 1) coins created in D1 and spent in E1. --> should pass

0 commit comments

Comments
 (0)