Jump to content

Bitcoin/address validation: Difference between revisions

m
Minor code correction.
(New post.)
m (Minor code correction.)
Line 362:
std::string::size_type index = ALPHABET.find(ch);
if ( index == static_cast<uint64_t>(-1) ) {
throw std::invalid_argument("Invalid character found in bitcoin address: " + ch);
}
for ( uint64_t i = result.size() - 1; i > 0; i-- ) {
915

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.