@@ -196,7 +196,8 @@ async function startTransactions(args) {
197 // we're gonna be operating as the new wallet from here on out, so change
197 // we're gonna be operating as the new wallet from here on out, so change
198 // the relevant values
198 // the relevant values
199− //
199+ //TODO though, should we be? it might be better, especially for the
200+ // reticketing case, to try and exhaust the old wallet first
200 setUrbitWallet(Just(realWallet));
201 setUrbitWallet(Just(realWallet));
201 const newAddress = realWallet.ownership.keys.address;
202 const newAddress = realWallet.ownership.keys.address;
@@ -239,9 +240,35 @@ async function startTransactions(args) {
239 keysTx.gas = 150000;
240 keysTx.gas = 150000;
240 keysTx.nonce = 1;
241 keysTx.nonce = 1;
242− //TODO refactor this process into function
244 let txs = [managementTx, keysTx];
243 let txs = [managementTx, keysTx];
246+ azimuth.azimuth.getPointSize(point) !== azimuth.azimuth.PointSize.Planet
248+ let spawnTx = azimuth.ecliptic.setSpawnProxy(
251+ realWallet.spawn.keys.address
253+ spawnTx.gas = 200000;
258+ azimuth.azimuth.getPointSize(point) === azimuth.azimuth.PointSize.Galaxy
260+ let votingTx = azimuth.ecliptic.setVotingProxy(
263+ realWallet.voting.keys.address
265+ votingTx.gas = 200000;
245 txs = txs.map(tx => {
272 txs = txs.map(tx => {
246 tx.gasPrice = 20000000000;
273 tx.gasPrice = 20000000000;
247 tx.from = newAddress;
274 tx.from = newAddress;