refactor: extend changes to uint512

This commit is contained in:
pasta 2023-10-05 08:24:16 -05:00 committed by PastaPastaPasta
parent 5ad6088c93
commit a2c3031dcc

View File

@ -137,9 +137,9 @@ inline uint256 uint256S(const std::string& str)
/** 512-bit unsigned big integer. */ /** 512-bit unsigned big integer. */
class uint512 : public base_blob<512> { class uint512 : public base_blob<512> {
public: public:
uint512() {} constexpr uint512() = default;
uint512(const base_blob<512>& b) : base_blob<512>(b) {} constexpr uint512(const base_blob<512>& b) : base_blob<512>(b) {}
explicit uint512(const std::vector<unsigned char>& vch) : base_blob<512>(vch) {} constexpr explicit uint512(Span<unsigned char> vch) : base_blob<512>(vch) {}
uint256 trim256() const uint256 trim256() const
{ {