You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be nice for there to be a sentinel value representing an "Invalid" or zero/unset state of wallet.CoinType. We are unable to rely on 0 since that is the definition of wallet.Bitcoin. We currently refer to an "Invalid" type in github.com/OpenBazaar/openbazaar-go/wallet/builder.go as 4294967295 (or the maximum for a uint32, which could also be ^uint(0)) and would be happy to see that made into a formal constant for referencing an unknown or unset type.
The text was updated successfully, but these errors were encountered:
Would be nice for there to be a sentinel value representing an "Invalid" or zero/unset state of
wallet.CoinType
. We are unable to rely on0
since that is the definition ofwallet.Bitcoin
. We currently refer to an "Invalid" type in github.com/OpenBazaar/openbazaar-go/wallet/builder.go as4294967295
(or the maximum for a uint32, which could also be^uint(0)
) and would be happy to see that made into a formal constant for referencing an unknown or unset type.The text was updated successfully, but these errors were encountered: