mirror of
https://github.com/minibits-cash/minibits_wallet.git
synced 2026-10-05 19:28:26 +00:00
Fix topup failing if mint issues non-sats currency unit only.
This commit is contained in:
+1
-1
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user