Skip to content

Commit

Permalink
refactor(sign-using-ga): don't pass extra options
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed May 5, 2021
1 parent b5abe09 commit 44bab6d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ae/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ async function send (tx, options = {}) {
return this.sendTransaction(signed, opt)
}

async function signUsingGA (tx, options = {}) {
const { authData, authFun } = options
async function signUsingGA (tx, { authData, authFun, ...options } = {}) {
return this.createMetaTx(tx, authData, authFun, options)
}

Expand Down

0 comments on commit 44bab6d

Please sign in to comment.