Skip to content

Commit

Permalink
Update packages/sdk/src/interaction/interaction.js
Browse files Browse the repository at this point in the history
Co-authored-by: Jeff Doyle <jeffrey.doyle@dapperlabs.com>
  • Loading branch information
jribbink and JeffreyDoyle committed May 26, 2022
1 parent bbd3597 commit a3155ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk/src/interaction/interaction.js
Expand Up @@ -166,7 +166,7 @@ export const prepAccount = (acct, opts = {}) => ix => {
const resolve = acct.resolve
if (resolve)
acct.resolve = acct =>
[resolve, prepAccountKeyId].reduce(async (d, fn) => fn(await d), acct)
acct.resolve = (acct, ...rest) => [resolve, prepAccountKeyId].reduce(async (d, fn) => fn(await d, ...rest), acct)
acct = prepAccountKeyId(acct)

ix.accounts[tempId] = {
Expand Down

0 comments on commit a3155ff

Please sign in to comment.