Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Modify to_[u]int64, to_double to eval entire string #148 #485

Merged
merged 1 commit into from
Sep 23, 2017

Conversation

heifner
Copy link
Contributor

@heifner heifner commented Sep 21, 2017

Resolves #148.

Modified the to_int64, to_uint64, to_double to evaluate the entire string instead of the default boost::lexical_cast which reads until it finds a non-number.

This fixes the issue of conversion of a sha256 into a number working for sha256 that start with a number. Now that conversion fails.

@bytemaster bytemaster merged commit 76d5423 into master Sep 23, 2017
@heifner heifner deleted the http_rpc_problem_148 branch September 25, 2017 13:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

http rpc problem
2 participants