Skip to content

Commit e02a0a2

Browse files
committed
src/uint256.h
diff --git a/src/uint256.h b/src/uint256.h index 4b0a0bb..a5669cf 100644 --- a/src/uint256.h +++ b/src/uint256.h @@ -203,7 +203,6 @@ public: m_data[i] = (val >> (i * 8)) & 0xFF; } } - constexpr explicit uint256(uint8_t v) : base_blob<256>(v) {} consteval explicit uint256(std::string_view hex_str) : base_blob<256>() { if (hex_str.size() > 64) { throw "Invalid hex string size in consteval uint256";
1 parent 28bc43b commit e02a0a2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/uint256.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ class uint256 : public base_blob<256> {
203203
m_data[i] = (val >> (i * 8)) & 0xFF;
204204
}
205205
}
206-
constexpr explicit uint256(uint8_t v) : base_blob<256>(v) {}
207206
consteval explicit uint256(std::string_view hex_str) : base_blob<256>() {
208207
if (hex_str.size() > 64) {
209208
throw "Invalid hex string size in consteval uint256";

0 commit comments

Comments
 (0)