diff --git a/src/components/FeeRateSelector.vue b/src/components/FeeRateSelector.vue index 4c18a2f2..99dfeb57 100644 --- a/src/components/FeeRateSelector.vue +++ b/src/components/FeeRateSelector.vue @@ -87,7 +87,7 @@ const selectCustom = () => { >
{{ rate.title }}
{{ rate.feeRate }} sat/vB
-
{{ rate.desc }}
+
{{ rate.desc }}
diff --git a/src/lib/actions/btc/inscribe.ts b/src/lib/actions/btc/inscribe.ts index 75f5128f..f0c9d57e 100644 --- a/src/lib/actions/btc/inscribe.ts +++ b/src/lib/actions/btc/inscribe.ts @@ -35,6 +35,7 @@ export type MetaidData = { version?: string encoding?: BufferEncoding revealAddr: string + flag?: 'metaid' | 'testid' } export type PrevOutput = { @@ -345,7 +346,7 @@ function createMetaIdTxCtxData( inscriptionBuilder.push(ops.OP_CHECKSIG) inscriptionBuilder.push(ops.OP_FALSE) inscriptionBuilder.push(ops.OP_IF) - inscriptionBuilder.push(Buffer.from('testid')) + inscriptionBuilder.push(Buffer.from(metaidData?.flag || 'metaid')) inscriptionBuilder.push(Buffer.from(metaidData.operation)) if (metaidData.operation !== 'init') { diff --git a/src/lib/addressType.ts b/src/lib/addressType.ts index 468824fc..00c9aa02 100644 --- a/src/lib/addressType.ts +++ b/src/lib/addressType.ts @@ -1,6 +1,6 @@ import useStorage from '@/lib/storage' -import { AddressType, Chain } from '@metalet/utxo-wallet-service' import { getCurrentAccountId } from './account' +import { AddressType, Chain } from '@metalet/utxo-wallet-service' const storage = useStorage() const V3_BTC_ADDRESS_TYPE_RECORD__KEY = 'v3_btc_address_type_record' diff --git a/src/pages/wallet/Send.vue b/src/pages/wallet/Send.vue index b6dec048..e81fa844 100644 --- a/src/pages/wallet/Send.vue +++ b/src/pages/wallet/Send.vue @@ -261,8 +261,8 @@ async function send() {
-
-
+
+
{{ symbol }}
@@ -394,7 +394,7 @@ async function send() { type="primary" @click="popConfirm" :disabled="btnDisabled" - :class="[{ 'opacity-50 cursor-not-allowed': btnDisabled }, 'my-12 mt-12 w-61.5 h-12']" + :class="[{ 'opacity-50 cursor-not-allowed': btnDisabled }, 'my-6 w-61.5 h-12']" >