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.