Samourai-Wallet / samourai-wallet-android

Bitcoin Wallet strongly focused on privacy when transacting on the bitcoin network
https://samouraiwallet.com
The Unlicense
634 stars 238 forks source link

PayNym follow with no fund bug #363

Open trackktor opened 5 years ago

trackktor commented 5 years ago

Hello,

If you follow with no fund the Following section is still updated. Line ~295 of PayNymDetailsActivity.java, in followPaynym. The function doNotifTx is called after updatePaynym.

Maybe it could be replaced by something like that (if added):

editPaynymBottomSheet.setSaveButtonListener(view -> {
        if (doNotifTx())
            updatePaynym(editPaynymBottomSheet.getLabel(), editPaynymBottomSheet.getPcode());

It seems like a bug but maybe its by design.