Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

signer: Only merge multisigs if there are more than 1 #822

Merged
merged 5 commits into from
Sep 5, 2023
Merged

signer: Only merge multisigs if there are more than 1 #822

merged 5 commits into from
Sep 5, 2023

Conversation

acfunk
Copy link
Contributor

@acfunk acfunk commented Aug 29, 2023

Allow the ATC signer to create multisigs with a single signature.

@CLAassistant
Copy link

CLAassistant commented Aug 29, 2023

CLA assistant check
All committers have signed the CLA.

@acfunk acfunk changed the title #821 Only merge multisigs if there are more than 1 Only merge multisigs if there are more than 1 Aug 30, 2023
@acfunk acfunk changed the title Only merge multisigs if there are more than 1 signer: Only merge multisigs if there are more than 1 Aug 30, 2023
@acfunk acfunk changed the title signer: Only merge multisigs if there are more than 1 Bug-Fix: Only merge multisigs if there are more than 1 Aug 30, 2023
@algochoi
Copy link
Contributor

algochoi commented Sep 1, 2023

I added a unit test here to confirm that this fixes the bug: https://github.com/acfunk/js-algorand-sdk/pull/2

Copy link
Contributor

@algochoi algochoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@@ -1,5 +1,15 @@
/* eslint-env mocha */
import assert from 'assert';
import {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to any other reviewers: these just organize the imports (they are non-functional changes)

@winder winder changed the title Bug-Fix: Only merge multisigs if there are more than 1 signer: Only merge multisigs if there are more than 1 Sep 5, 2023
@winder winder merged commit baa1fb7 into algorand:develop Sep 5, 2023
5 checks passed
@winder
Copy link
Contributor

winder commented Sep 5, 2023

Thanks for the contribution @acfunk !

@acfunk acfunk deleted the atc-multisig-merge branch September 5, 2023 17:37
joe-p pushed a commit to joe-p/js-algorand-sdk that referenced this pull request Apr 11, 2024
Co-authored-by: algochoi <86622919+algochoi@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants