Fix topup failing if mint issues non-sats currency unit only.

This commit is contained in:
minibits-cash
2024-06-07 14:19:14 +02:00
parent 31a940af4a
commit dc8cd93860
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "minibits_wallet",
"version": "0.1.8-beta.22",
"version": "0.1.8-beta.23",
"private": true,
"scripts": {
"android:clean": "cd android && ./gradlew clean",
+1 -1
View File
@@ -27,7 +27,7 @@ import {
Screen,
Text,
} from '../components'
import {TxKeyPath} from '../i18n'
import {TxKeyPath, translate} from '../i18n'
import AppError from '../utils/AppError'
import { MintClient } from '../services'
7
+2 -2
View File
@@ -380,7 +380,7 @@ const payLightningMelt = async function (
lightningMeltQuote,
proofsToPayFrom,
{
keysetId: undefined,
keysetId: cashuWallet.keys.id,
counter
}
)
@@ -493,7 +493,7 @@ const mintProofs = async function (
amount,
mintQuote,
{
keysetId: undefined,
keysetId: cashuWallet.keys.id,
amountPreference: amountPreferences,
counter,
pubkey: undefined