feat: do not allow taproot inputs to be sent for signing
This commit is contained in:
parent
d77619279d
commit
f14689fb60
|
@ -104,6 +104,18 @@ async function payment(path) {
|
|||
})
|
||||
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()) {
|
||||
await this.serialSignerRef.hwwShowPasswordDialog()
|
||||
const authenticated = await this.serialSignerRef.isAuthenticating()
|
||||
|
|
|
@ -97,6 +97,13 @@
|
|||
<q-badge v-if="props.row.isChange" color="orange" class="q-mr-md">
|
||||
change
|
||||
</q-badge>
|
||||
<q-badge
|
||||
v-if="props.row.accountType === 'p2tr'"
|
||||
color="yellow"
|
||||
text-color="black"
|
||||
>
|
||||
taproot
|
||||
</q-badge>
|
||||
</div>
|
||||
</q-td>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user