We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ec7ee9 commit ef5c3cdCopy full SHA for ef5c3cd
vlib/math/unsigned/uint256.v
@@ -382,7 +382,7 @@ pub fn (u_ Uint256) str() string {
382
}
383
384
// uint256_from_dec_str creates a new `unsigned.Uint256` from the given string if possible
385
-pub fn uint256_from_dec_str(value string) ?Uint256 {
+pub fn uint256_from_dec_str(value string) !Uint256 {
386
mut res := unsigned.uint256_zero
387
for b_ in value.bytes() {
388
b := b_ - '0'.bytes()[0]
0 commit comments