Files
bitcoin/src
fanquake 03a536f1ed Merge bitcoin/bitcoin#28284: refactor: Remove confusing static_cast in address types
fadf671fa5 Refactor: Remove confusing static_cast (MarcoFalke)
faeea1ab58 refactor: Add missing includes (MarcoFalke)

Pull request description:

  It seems confusing to use `static_cast<uint160>(bla)` to call the constructor of `uint160`. The normal and common way to call a constructor is by simply calling it. (`uint160{bla}`).

  Do this, and also drop the constructor completely where the existing `const&` reference is enough.

  Also, add missing includes while touching the file.

ACKs for top commit:
  vincenzopalazzo:
    ACK fadf671fa5
  TheCharlatan:
    ACK fadf671fa5

Tree-SHA512: 8fb9a72203a6461b1f4b38bb90943ca25a92b218fc87da2022b90802e7747350e3668a13db3189201ad30e2e39a51d6658fed4aad176fd52cecc1c7f972c3134
2023-08-22 14:46:10 +01:00
..
2023-08-08 17:50:41 +02:00
2023-08-17 15:55:01 +02:00
2023-06-29 16:14:07 -06:00
2023-06-16 10:38:19 +01:00
2023-06-16 10:38:19 +01:00
2023-06-16 10:38:19 +01:00
2023-06-16 10:38:19 +01:00
2023-07-19 18:12:42 +02:00
2023-07-19 18:12:42 +02:00
2023-08-08 16:03:40 +02:00