Skip to content

Commit 8162aa7

Browse files
committed
Fix typo in init multisig redeemer
1 parent 552ef26 commit 8162aa7

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@anastasia-labs/aiken-multisig-offchain",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "Off-Chain SDK for Aiken Upgradable Multisig",
55
"main": "./dist/index.js",
66
"types": "./dist/index.d.ts",

src/endpoints/initiateMultiSig.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const initiateMultiSigProgram = (
4949
// Construct the redeemer using the input indices
5050
const multisigRedeemer: InitiateMultiSig = {
5151
input_index: inputIndices[0],
52-
output_index: inputIndices[0],
52+
output_index: 0n,
5353
};
5454

5555
const redeemerData = Data.to(
@@ -104,12 +104,5 @@ export const initiateMultiSigProgram = (
104104
txBuilder,
105105
);
106106
const tx = yield* _(txWithSigners.completeProgram());
107-
108-
// yield* tx.completeProgram()
109-
// .addSignerKey(config.signers[0])
110-
// .addSignerKey(config.signers[1])
111-
// .addSignerKey(config.signers[2])
112-
// .addSignerKey(config.signers[3])
113-
// .completeProgram();
114107
return tx;
115108
});

0 commit comments

Comments
 (0)