Skip to content

Commit

Permalink
shallow copy acct
Browse files Browse the repository at this point in the history
  • Loading branch information
nialexsan committed Sep 25, 2023
1 parent bdaaa88 commit 4af3600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk/src/interaction/interaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export const prepAccount = (acct: IAcct | IAcctFn, opts: IPrepAccountOpts = {})
const ACCOUNT = initAccount()
const role = opts.role
const tempId = uuid()
let account: Partial<IAcct> = acct
let account: Partial<IAcct> = {...acct}

if (acct.authorization && isFn(acct.authorization))
account = {resolve: acct.authorization}
Expand Down

0 comments on commit 4af3600

Please sign in to comment.