Skip to content

Commit

Permalink
Update cadence/transactions/evm/create_new_account_with_coa.cdc
Browse files Browse the repository at this point in the history
Co-authored-by: Giovanni Sanchez <[email protected]>
  • Loading branch information
btspoony and sisyphusSmiling authored Oct 24, 2024
1 parent ce1239a commit 653fb06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cadence/transactions/evm/create_new_account_with_coa.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ transaction(
signatureAlgorithm: UInt8, // signature algorithm to be used for the account
hashAlgorithm: UInt8, // hash algorithm to be used for the account
) {
let auth: auth(Storage, Keys, Capabilities) &Account
let auth: auth(BorrowValue) &Account

prepare(signer: auth(Storage, Keys, Capabilities) &Account) {
prepare(signer: auth(BorrowValue) &Account) {
pre {
signatureAlgorithm == 1 || signatureAlgorithm == 2:
"Cannot add Key: Must provide a signature algorithm raw value that corresponds to "
Expand Down

0 comments on commit 653fb06

Please sign in to comment.