@@ -12,6 +12,7 @@ import {
1212 RollerRPCAPI,
1313 Options,
1414 EthAddress,
15+ UnspawnedPoints,
1516} from '@urbit/roller-api';
1617
1718import { isDevelopment, isRopsten } from './flags';
@@ -102,18 +103,7 @@ export default function useRoller() {
102103 throw new Error('Internal Error: Missing Contracts/Web3/Wallet');
103104 }
104105
105− // TODO: replace with api.getSpawned(point) from the Roller
106− const planets: number[] = await azimuth.azimuth.getUnspawnedChildren(
107− _contracts,
108− _point
109− );
110−
111− // const planets: any = await azimuth.delegatedSending.getPlanetsToSend(
112− // _contracts,
113− // _point,
114− // numInvites,
115− // );
116−
106+ const planets: UnspawnedPoints = await api.getUnspawned(_point);
117107 const starInfo = await api.getPoint(_point);
118108
119109 const tickets: { ticket: string; planet: string }[] = [];
@@ -164,8 +154,8 @@ export default function useRoller() {
164154 contracts,
165155 pointCursor,
166156 wallet,
167− walletHdPath,
168− walletType,
157+ // walletHdPath,
158+ // walletType,
169159 web3,
170160 ]
171161 );