mirror of
https://github.com/Brotocol-xyz/bro-sdk.git
synced 2026-01-12 14:54:21 +08:00
fixup! fix: minor fixes
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user