mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-19 05:45:15 +01:00
REF: fix ldk dep
This commit is contained in:
parent
f5e64c9944
commit
9fa12da78c
@ -564,7 +564,7 @@ export class LightningLdkWallet extends LightningCustodianWallet {
|
||||
await wallet.fetchUtxo();
|
||||
console.log(wallet.getBalance(), wallet.getUtxo());
|
||||
console.log('creating transation...');
|
||||
const { tx } = wallet.createTransaction(wallet.getUtxo(), [{ address }], 1, address, 0, false, 0);
|
||||
const { tx } = wallet.createTransaction(wallet.getUtxo(), [{ address }], 2, address, 0, false, 0);
|
||||
if (!tx) throw new Error('claimCoins: could not create transaction');
|
||||
console.log('broadcasting...');
|
||||
return await wallet.broadcastTx(tx.toHex());
|
||||
|
6
package-lock.json
generated
6
package-lock.json
generated
@ -25249,8 +25249,8 @@
|
||||
}
|
||||
},
|
||||
"node_modules/rn-ldk": {
|
||||
"version": "0.7.5",
|
||||
"resolved": "git+ssh://git@github.com/BlueWallet/rn-ldk.git#ff9e26d7fca0e11c8c7d274ef3417104cc7480d8",
|
||||
"version": "0.8.0",
|
||||
"resolved": "git+ssh://git@github.com/BlueWallet/rn-ldk.git#04ca53e3faf05c441bc0112db05c0f7b77a861c0",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"react": "*",
|
||||
@ -47986,7 +47986,7 @@
|
||||
}
|
||||
},
|
||||
"rn-ldk": {
|
||||
"version": "git+ssh://git@github.com/BlueWallet/rn-ldk.git#ff9e26d7fca0e11c8c7d274ef3417104cc7480d8",
|
||||
"version": "git+ssh://git@github.com/BlueWallet/rn-ldk.git#04ca53e3faf05c441bc0112db05c0f7b77a861c0",
|
||||
"from": "rn-ldk@github:BlueWallet/rn-ldk#v0.8.0",
|
||||
"requires": {}
|
||||
},
|
||||
|
@ -209,7 +209,7 @@ const LdkInfo = () => {
|
||||
try {
|
||||
const rez = await wallet.claimCoins(address);
|
||||
if (rez) {
|
||||
alert(loc._.sucess);
|
||||
alert(loc._.success);
|
||||
await refetchData();
|
||||
}
|
||||
} finally {
|
||||
|
Loading…
Reference in New Issue
Block a user