new CB.Toast<ArrayList>(TransactionActivity.this) {
@Override
public void onSuccess(final ArrayList result) {
Coin remaining = finalRemaining;
final List<ListenableFuture<byte[]>> scripts = new ArrayList<>();
<BUG>final List<Map<String, Object>> moreInputs = new ArrayList<>();

for (final Object utxo_ : result) {
final Map<String, Object> utxo = (Map) utxo_;
remaining = remaining.subtract(Coin.valueOf(Long.valueOf((String)utxo.get("value"))));
scripts.add(mService.createOutScript((Integer)utxo.get("subaccount"), (Integer)utxo.get("pointer")));
</BUG>
moreInputs.add(utxo);

new CB.Toast<ArrayList>(TransactionActivity.this) {
@Override
public void onSuccess(final ArrayList result) {
Coin remaining = finalRemaining;
final List<ListenableFuture<byte[]>> scripts = new ArrayList<>();
final List<JSONMap> moreInputs = new ArrayList<>();
for (final Object o : result) {
final JSONMap utxo = new JSONMap((Map<String, Object>) o);
remaining = remaining.subtract(utxo.getCoin("value"));
scripts.add(mService.createOutScript(utxo.getInt("subaccount"), utxo.getInt("pointer")));
moreInputs.add(utxo);
