Skip to content

Commit 7390e78

Browse files
authored
Remove participant flow (#275)
1 parent 0fe4670 commit 7390e78

File tree

9 files changed

+231
-567
lines changed

9 files changed

+231
-567
lines changed

main/api/ledger/multisig/handleAggregateSignatureShares.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { AggregateSignatureSharesRequest } from "@ironfish/sdk";
1+
import { AggregateSignatureSharesRequest, Transaction } from "@ironfish/sdk";
22

33
import { manager } from "../../manager";
44

@@ -10,5 +10,9 @@ export async function handleAggregateSignatureShares(
1010

1111
const response =
1212
await rpcClient.wallet.multisig.aggregateSignatureShares(request);
13-
return response.content;
13+
14+
const transaction = new Transaction(
15+
Buffer.from(response.content.transaction, "hex"),
16+
);
17+
return { ...response.content, txHash: transaction.hash().toString("hex") };
1418
}

0 commit comments

Comments
 (0)