Skip to content

Commit

Permalink
update SignatureAlgorithm Enum
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceandwhisky committed Oct 15, 2024
1 parent 439abdb commit 919f758
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/solidity/TransferableAccountStore.sol
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ contract TransferableAccountStore is Suapp, ITransferableAccountStore {
owner: timedSignature.signer,
publicKeyX: x,
publicKeyY: y,
signatureAlgorithm: SignatureAlgorithm.ECDSA,
signatureAlgorithm: SignatureAlgorithm.SignatureAlgorithm_ECDSA,
isLocked: true
});

Expand Down
6 changes: 3 additions & 3 deletions src/solidity/interfaces/ITransferableAccountStore.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ interface ITransferableAccountStore {
}

enum SignatureAlgorithm {
CURVE_UNKNOWN,
ECDSA,
EDDSA
SignatureAlgorithm_UNSPECIFIED,
SignatureAlgorithm_ECDSA,
SignatureAlgorithm_EDDSA
}

// Events
Expand Down

0 comments on commit 919f758

Please # to comment.