mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 23:03:45 +01:00
refactor: use braced init for integer constants instead of c style casts
This commit is contained in:
@@ -1303,7 +1303,7 @@ public:
|
||||
// Serialize the nSequence
|
||||
if (nInput != nIn && (fHashSingle || fHashNone))
|
||||
// let the others update at will
|
||||
::Serialize(s, (int)0);
|
||||
::Serialize(s, int{0});
|
||||
else
|
||||
::Serialize(s, txTo.vin[nInput].nSequence);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user