on master help sign in
invite: correctly pass signed transactions into gas tank
811b75fFang
src/lib/useInviter.js+1−2
@@ -151,7 +151,7 @@ const useInviter = () => {
151 _wallet.address,
151 _wallet.address,
152 walletType,
152 walletType,
153 safeToWei(totalCost, 'gwei'),
153 safeToWei(totalCost, 'gwei'),
154− Object.keys(invites).map(name => invites[name].rawTx),
154+ signedInvites.map(si => si.rawTx),
155 (address, minBalance, balance) =>
155 (address, minBalance, balance) =>
156 setNeedFunds({ address, minBalance, balance }),
156 setNeedFunds({ address, minBalance, balance }),
157 () => setNeedFunds(undefined)
157 () => setNeedFunds(undefined)
@@ -204,7 +204,6 @@ const useInviter = () => {
204 [
204 [
205 contracts,
205 contracts,
206 gasPrice,
206 gasPrice,
207− invites,
208 networkType,
207 networkType,
209 point,
208 point,
210 syncInvites,
209 syncInvites,