annularis / shop

Annularis E-Shop
MIT License
29 stars 16 forks source link

Bitcoin address issue #14

Closed danfossi closed 6 years ago

danfossi commented 7 years ago

Registering a new Vendor, during the setting of the payout address the displayed error is: "You must enter a valid address!" even if the BTC address is valid.

danfossi commented 7 years ago

Waiting to solve the problem with the library.

Change the line 122 of "application/libraries/MY_Form_validation.php"

from this:

return \BitWasp\BitcoinLib\BitcoinLib::validate_address($str, '05');

to this:

// return \BitWasp\BitcoinLib\BitcoinLib::validate_address($str, '05');

at this point you can add the payout address to the vendor.