Skip to content

Commit

Permalink
Revert "btc.SigHash.ALL"
Browse files Browse the repository at this point in the history
This reverts commit 94de2f0.
  • Loading branch information
hans-crypto committed Apr 4, 2024
1 parent 976854b commit ccc141f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 14 deletions.
10 changes: 5 additions & 5 deletions frontend/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ let routes: Routes = [
component: AboutComponent,
},
{
path: 'cat21-xxx-hidden-link-just-for-debugging',
path: 'cat21-mint',
component: Cat21MintComponent,
},
{
Expand Down Expand Up @@ -176,7 +176,7 @@ let routes: Routes = [
component: AboutComponent,
},
{
path: 'cat21-xxx-hidden-link-just-for-debugging',
path: 'cat21-mint',
component: Cat21MintComponent,
},
{
Expand Down Expand Up @@ -290,7 +290,7 @@ let routes: Routes = [
component: AboutComponent,
},
{
path: 'cat21-xxx-hidden-link-just-for-debugging',
path: 'cat21-mint',
component: Cat21MintComponent,
},
{
Expand Down Expand Up @@ -445,7 +445,7 @@ if (browserWindowEnv && browserWindowEnv.BASE_MODULE === 'liquid') {
component: AboutComponent,
},
{
path: 'cat21-xxx-hidden-link-just-for-debugging',
path: 'cat21-mint',
component: Cat21MintComponent,
},
{
Expand Down Expand Up @@ -571,7 +571,7 @@ if (browserWindowEnv && browserWindowEnv.BASE_MODULE === 'liquid') {
component: AboutComponent,
},
{
path: 'cat21-xxx-hidden-link-just-for-debugging',
path: 'cat21-mint',
component: Cat21MintComponent,
},
{
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/services/ordinals/cat21.service.helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ export function signTransactionAndBroadcastXverse(psbtBytes: Uint8Array, payment
{
address: paymentAddress,
signingIndexes: [0],
sigHash: btc.SigHash.ALL // NEW: sign all outputs
sigHash: btc.SigHash.SINGLE_ANYONECANPAY // 131
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/services/state.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export interface Env {
}

const defaultEnv: Env = {
'TESTNET_ENABLED': true,
'TESTNET_ENABLED': false,
'SIGNET_ENABLED': false,
'LIQUID_ENABLED': false,
'LIQUID_TESTNET_ENABLED': false,
Expand Down
10 changes: 3 additions & 7 deletions frontend/src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,10 @@ export const environment = {
production: false,
nativeAssetId: '6f0279e9ed041c3d710a9f57d0c02928416460c4b722ae3457a11eec381c526d',
nativeTestAssetId: '144c654344aa716d6f3abcc1ca90e5641e4e2a7f633bc09fe3baf64585819a49',
// apiBaseUrl: 'https://mempool.nixbitcoin.org',
// websocketBaseUrl: 'wss://mempool.nixbitcoin.org',
// TODO: fix this until Wednesday, somehow 😳
apiBaseUrl: 'https://mempool.space',
websocketBaseUrl: 'wss://mempool.space',

apiBaseUrl: 'https://mempool.nixbitcoin.org',
websocketBaseUrl: 'wss://mempool.nixbitcoin.org',
enableInscriptionAccelerator: true,
enableCat21Mint: true,
enableCat21Mint: false,
ordBaseUrl: 'https://explorer.ordinalsbot.com',
ordBaseUrlTestnet: 'https://testnet-explorer.ordinalsbot.com',
cat21BaseUrl: 'https://backend.cat21.space'
Expand Down

0 comments on commit ccc141f

Please sign in to comment.