Skip to content

Commit

Permalink
Allow signing multisig transactions from a vesting contract
Browse files Browse the repository at this point in the history
  • Loading branch information
sisou committed Jan 15, 2025
1 parent 820d23f commit 9157108
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ class SignMultisigTransactionApi extends TopLevelApi {
'Transaction sender does not match calculated multisig address',
);
}
} else if (transaction.senderType === Nimiq.Account.Type.VESTING) {
// Cannot verify vesting contract address
} else if (transaction.recipientType === Nimiq.Account.Type.BASIC) {
if (!transaction.recipient.equals(multisigAddress)) {
throw new Errors.InvalidRequestError(
Expand Down

0 comments on commit 9157108

Please sign in to comment.