Updated on 2026-08-14

This commit is contained in:
Tangem 2019-02-11 16:16:52 +03:00
parent 6ccf421860
commit 5294c98903
2 changed files with 37 additions and 1 deletions

View file

@ -195,7 +195,8 @@ public class BtcEngine extends CoinEngine {
@Override
public Uri getShareWalletUri() {
if (ctx.getCard().getDenomination() != null) {
byte[] x = new byte[] {0,0,0,0,0,0,0,0};
if (ctx.getCard().getDenomination() != null && !ctx.getCard().getDenominationText().equals("0.00")) {
return Uri.parse("bitcoin:" + ctx.getCoinData().getWallet() + "?amount=" + convertToAmount(convertToInternalAmount(ctx.getCard().getDenomination())).toValueString(8));
} else {
return Uri.parse("bitcoin:" + ctx.getCoinData().getWallet());