Updated on 2026-08-14

This commit is contained in:
Tangem 2018-06-08 14:10:28 +03:00
parent a731ddba76
commit f95c6c4fe8
3 changed files with 43 additions and 1 deletions

View file

@ -319,9 +319,14 @@ public class BtcEngine extends CoinEngine {
}
public Uri getShareWalletURI(TangemCard mCard) {
return Uri.parse("bitcoin:" + mCard.getWallet());
if (mCard.getDenomination() != null) {
return Uri.parse("bitcoin:" + mCard.getWallet() + "?amount=" + BTCUtils.satoshiToBtc(mCard.getDenomination()));
} else {
return Uri.parse("bitcoin:" + mCard.getWallet());
}
}
public boolean CheckAmountValie(TangemCard mCard, String amountValue, String feeValue, Long minFeeInInternalUnits) {
Long fee = null;
Long amount = null;