Updated on 2026-08-14
This commit is contained in:
parent
a731ddba76
commit
f95c6c4fe8
3 changed files with 43 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue