fixup! fix: minor fixes

This commit is contained in:
c4605
2025-04-21 13:13:26 +02:00
parent d816d2de2f
commit 146b77bef2
2 changed files with 2 additions and 2 deletions

View File

@@ -160,7 +160,7 @@ export async function bridgeFromBRC20(
!equalBytes(
info.toAddressScriptPubKey,
addressToScriptPubKey(
info.fromChain === KnownChainId.Bitcoin.Mainnet
info.fromChain === KnownChainId.BRC20.Mainnet
? btc.NETWORK
: btc.TEST_NETWORK,
info.toAddress,

View File

@@ -171,7 +171,7 @@ export async function bridgeFromRunes(
!equalBytes(
info.toAddressScriptPubKey,
addressToScriptPubKey(
info.fromChain === KnownChainId.Bitcoin.Mainnet
info.fromChain === KnownChainId.Runes.Mainnet
? btc.NETWORK
: btc.TEST_NETWORK,
info.toAddress,