Open teebaumcrypto opened 10 months ago
Hi @teebaumcrypto ! Thanks for this PR too. In this case I suggest to return Option
type instead Error
. And also since we use wasm bingen, we don't return a reference, you need to change your code to return a copy of struct. And it would be better if you add a couple of simple tests
@lisicky appreciate your time looking through it. that's why the code is full of clones, because of the wasm bingen, this does make sense.
inner struct is private, so add a helper function to get payment credentials, byron does not support it, so it throws an error.