zingolabs / zingolib_original

ZingoLib
MIT License
1 stars 1 forks source link

Errors returned as Strings #69

Open AloeareV opened 2 years ago

AloeareV commented 2 years ago

The functions in lib/src/lightwallet.rs add_imported_tk, add_imported_sk, and add_imported_vk all return a String that can be either the receiving address corresponding to the imported key, or an error message. This interface could be improved.