Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd committed Oct 15, 2023
1 parent 8c0ca3b commit 5d316d0
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
40 changes: 40 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,46 @@
"import": "./dist/index.js",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./assert": {
"import": "./dist/assert.js",
"types": "./dist/assert.d.ts"
},
"./contract": {
"import": "./dist/lib/contract.js",
"types": "./dist/lib/contract.d.ts"
},
"./deposit": {
"import": "./dist/lib/deposit.js",
"types": "./dist/lib/deposit.d.ts"
},
"./parse": {
"import": "./dist/lib/parse.js",
"types": "./dist/lib/parse.d.ts"
},
"./proposal": {
"import": "./dist/lib/.js",
"types": "./dist/lib/proposal.d.ts"
},
"./recovery": {
"import": "./dist/lib/.js",
"types": "./dist/lib/recovery.d.ts"
},
"./session": {
"import": "./dist/lib/session.js",
"types": "./dist/lib/session.d.ts"
},
"./tx": {
"import": "./dist/lib/.js",
"types": "./dist/lib/tx.d.ts"
},
"./witness": {
"import": "./dist/lib/witness.js",
"types": "./dist/lib/witness.d.ts"
},
"./vm": {
"import": "./dist/vm/index.js",
"types": "./dist/vm/index.d.ts"
}
},
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/lib/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export function get_mutex_ctx (
) : MutexContext {
const { key_data, tap_data } = context
const group_pub = key_data.group_pubkey
// This can be optimized and further broken down.
const sighash = create_sighash(txinput, output)
const nonce_twk = get_session_tweak(sid, pnonces, sighash)
const pubnonces = tweak_pnonces(pnonces, nonce_twk)
Expand Down

0 comments on commit 5d316d0

Please sign in to comment.