on master help sign in
invite: correctly pass signed transactions into gas tank
commit811b75f5df11a50d3d4f524e9a923cb0373c4b6b authorFang <git@fang.io> dateMon 3 Feb 2020, 19:04 (7 years ago) parenta1cc13d
1 file changed+1−2
src/lib/useInviter.js+1−2
src/lib/useInviter.js+1−2
@@ -151,7 +151,7 @@ const useInviter = () => {
151151 _wallet.address,
152152 walletType,
153153 safeToWei(totalCost, 'gwei'),
154− Object.keys(invites).map(name => invites[name].rawTx),
154+ signedInvites.map(si => si.rawTx),
155155 (address, minBalance, balance) =>
156156 setNeedFunds({ address, minBalance, balance }),
157157 () => setNeedFunds(undefined)
@@ -204,7 +204,6 @@ const useInviter = () => {
204204 [
205205 contracts,
206206 gasPrice,
207− invites,
208207 networkType,
209208 point,
210209 syncInvites,