Commit e02a0a2
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
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
207 | 206 | | |
208 | 207 | | |
209 | 208 | | |
| |||
0 commit comments