Closed knocte closed 8 months ago
@aarani this is ready for review now, can you have a very quick look?
"Many ToString()
instances" is much better (or rather, less worse) than "Many : string
return types". Do you understand?
Actually there's 3 things missing in this PR:
OriginMainAddress
to OriginDefaultAddress
, cause I don't want the word "Main" to be conflated with "Mainnet".I'll work on the above today.
This change also reduces a bit of primitive obsession (i.e. string vs BitcoinAddress) to make the code less "stringly-typed" lol.
This should have been done in [1] but was an oversight on my part when reviewing.
[1] https://github.com/nblockchain/geewallet/pull/211