Skip to content

Commit

Permalink
Merge pull request #11 from novasamatech/fix/tbaut-multisig-address
Browse files Browse the repository at this point in the history
Fix: wrong multisig address
  • Loading branch information
Tbaut authored Jul 4, 2024
2 parents 796b288 + dd39d73 commit 54af6bb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,6 @@ sudo rm -rf .data/;
sudo rm -rf dist/;
```

## Cleanup the project

To make sure you start from a clean plate, make sure you have no previous docker running or older db

```bash
# delete any docker
docker rm -f $(docker-compose ps -a -q);

# delete the local DB files and build
sudo rm -rf .data/;
sudo rm -rf dist/;
```

## Run this project

Copy one of the chain files into `project.yaml`: e.g for polkadot `cp polkadot.yaml project.yaml`
Expand Down
2 changes: 1 addition & 1 deletion src/mappings/handlers/multisigCallHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export async function handleMultisigCall(
checkAndGetAccount(u8aToHex(decodeAddress(signatory)))
);
const allSignatoriesAccounts = await Promise.all(signatoriesAccountsPromises);
const mulisigPubKey = createKeyMulti(other_signatories, threshold);
const mulisigPubKey = createKeyMulti(allSignatories, threshold);
const multisigAddress = encodeAddress(mulisigPubKey);
const multisigAccount = await checkAndGetAccount(
u8aToHex(decodeAddress(multisigAddress)),
Expand Down

0 comments on commit 54af6bb

Please sign in to comment.