Skip to content

Commit 79a34d5

Browse files
committed
shallow copy acct
1 parent 3aca2d3 commit 79a34d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sdk/src/interaction/interaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export const prepAccount = (acct: IAcct | IAcctFn, opts: IPrepAccountOpts = {})
160160
const ACCOUNT = initAccount()
161161
const role = opts.role
162162
const tempId = uuidv4()
163-
let account: Partial<IAcct> = acct
163+
let account: Partial<IAcct> = {...acct}
164164

165165
if (acct.authorization && isFn(acct.authorization))
166166
account = {resolve: acct.authorization}

0 commit comments

Comments
 (0)