@@ -196,7 +196,8 @@ async function startTransactions(args) {
196196 //
197197 // we're gonna be operating as the new wallet from here on out, so change
198198 // 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
200201 setUrbitWallet(Just(realWallet));
201202 const newAddress = realWallet.ownership.keys.address;
202203
@@ -239,9 +240,35 @@ async function startTransactions(args) {
239240 keysTx.gas = 150000;
240241 keysTx.nonce = 1;
241242
242− //TODO refactor this process into function
243− let totalCost = 0;
244243 let txs = [managementTx, keysTx];
244+
245+ if (
246+ azimuth.azimuth.getPointSize(point) !== azimuth.azimuth.PointSize.Planet
247+ ) {
248+ let spawnTx = azimuth.ecliptic.setSpawnProxy(
249+ contracts,
250+ point,
251+ realWallet.spawn.keys.address
252+ );
253+ spawnTx.gas = 200000;
254+ spawnTx.nonce = 2;
255+ txs.push(spawnTx);
256+
257+ if (
258+ azimuth.azimuth.getPointSize(point) === azimuth.azimuth.PointSize.Galaxy
259+ ) {
260+ let votingTx = azimuth.ecliptic.setVotingProxy(
261+ contracts,
262+ point,
263+ realWallet.voting.keys.address
264+ );
265+ votingTx.gas = 200000;
266+ votingTx.nonce = 3;
267+ txs.push(votingTx);
268+ }
269+ }
270+
271+ let totalCost = 0;
245272 txs = txs.map(tx => {
246273 tx.gasPrice = 20000000000;
247274 tx.from = newAddress;