Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

isSatoshi is not network specific #35

Open
MatthewLM opened this issue Apr 28, 2022 · 0 comments
Open

isSatoshi is not network specific #35

MatthewLM opened this issue Apr 28, 2022 · 0 comments

Comments

@MatthewLM
Copy link
Collaborator

The isSatoshi function in lib/src/utils/check_types.dart is used to determine if a value is within expected bounds for satoshis but it is built for Bitcoin only, as the maximum value is 21e14.

This could either be removed or output values can be tested against NetworkType objects.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant