Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd committed Jan 24, 2024
1 parent 9140a70 commit 4503b54
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/schema/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const json : z.ZodType<Json> = z.lazy(() =>
)

const label = z.string().regex(/^[0-9a-zA-Z_-]{2,64}$/)
const network = z.enum([ 'main', 'regtest', 'signet', 'testnet' ])
const network = z.enum([ 'main', 'regtest', 'signet', 'testnet', 'mutiny' ])
const payment = z.tuple([ num, address ])
const paypath = z.tuple([ label, num, address ])
const regex = z.string().regex(/[a-zA-Z0-9\_\|\*\-]/)
Expand Down
2 changes: 1 addition & 1 deletion test/demo/01_create_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const configs = {
mutiny : {
hostname : 'https://bitescrow-mutiny.vercel.app',
oracle : 'https://mutinynet.com',
network : 'signet'
network : 'mutiny'
},

signet : {
Expand Down
2 changes: 1 addition & 1 deletion test/demo/07_deposit_funds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ print_banner('make a deposit')

console.log('copy this address :', address)
console.log('send this amount :', amt_total, 'sats')
if (contract.terms.network === 'signet') {
if (contract.terms.network === 'mutiny') {
console.log('get funds here : https://faucet.mutinynet.com')
} else if (contract.terms.network === 'testnet') {
console.log('get funds here : https://bitcoinfaucet.uo1.net')
Expand Down

0 comments on commit 4503b54

Please sign in to comment.