mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
refactor: use braced init for integer constants instead of c style casts
This commit is contained in:
parent
3f8591d46b
commit
f2fc03ec85
23 changed files with 47 additions and 47 deletions
|
|
@ -31,7 +31,7 @@ BOOST_AUTO_TEST_CASE(getcoinscachesizestate)
|
|||
COutPoint outp{txid, 0};
|
||||
newcoin.nHeight = 1;
|
||||
newcoin.out.nValue = InsecureRand32();
|
||||
newcoin.out.scriptPubKey.assign((uint32_t)56, 1);
|
||||
newcoin.out.scriptPubKey.assign(uint32_t{56}, 1);
|
||||
coins_view.AddCoin(outp, std::move(newcoin), false);
|
||||
|
||||
return outp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue