mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-09 20:12:34 +02:00
feat: do not allow taproot inputs to be sent for signing
This commit is contained in:
@@ -104,6 +104,18 @@ async function payment(path) {
|
|||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
const p2trUtxo = this.utxos.find(
|
||||||
|
u => u.selected && u.accountType === 'p2tr'
|
||||||
|
)
|
||||||
|
if (p2trUtxo) {
|
||||||
|
this.$q.notify({
|
||||||
|
type: 'warning',
|
||||||
|
message: 'Taproot Signing not supported yet!',
|
||||||
|
caption: 'Please manually deselect the Taproot UTXOs',
|
||||||
|
timeout: 10000
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
if (!this.serialSignerRef.isAuthenticated()) {
|
if (!this.serialSignerRef.isAuthenticated()) {
|
||||||
await this.serialSignerRef.hwwShowPasswordDialog()
|
await this.serialSignerRef.hwwShowPasswordDialog()
|
||||||
const authenticated = await this.serialSignerRef.isAuthenticating()
|
const authenticated = await this.serialSignerRef.isAuthenticating()
|
||||||
|
@@ -97,6 +97,13 @@
|
|||||||
<q-badge v-if="props.row.isChange" color="orange" class="q-mr-md">
|
<q-badge v-if="props.row.isChange" color="orange" class="q-mr-md">
|
||||||
change
|
change
|
||||||
</q-badge>
|
</q-badge>
|
||||||
|
<q-badge
|
||||||
|
v-if="props.row.accountType === 'p2tr'"
|
||||||
|
color="yellow"
|
||||||
|
text-color="black"
|
||||||
|
>
|
||||||
|
taproot
|
||||||
|
</q-badge>
|
||||||
</div>
|
</div>
|
||||||
</q-td>
|
</q-td>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user