mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-20 02:09:10 +01:00
FIX: create-ln-invoice - button is not blocked, which can lead to multiple invoices created
This commit is contained in:
parent
d2efd34d0a
commit
513dcabeb7
@ -205,7 +205,6 @@ export default class LNDCreateInvoice extends Component {
|
|||||||
async createInvoice() {
|
async createInvoice() {
|
||||||
this.setState({ isLoading: true }, async () => {
|
this.setState({ isLoading: true }, async () => {
|
||||||
try {
|
try {
|
||||||
this.setState({ isLoading: false });
|
|
||||||
let amount = this.state.amount;
|
let amount = this.state.amount;
|
||||||
switch (this.state.unit) {
|
switch (this.state.unit) {
|
||||||
case BitcoinUnit.SATS:
|
case BitcoinUnit.SATS:
|
||||||
|
Loading…
Reference in New Issue
Block a user