Fixed build error due to merge.

This commit is contained in:
CalDescent 2022-07-15 11:53:30 +01:00
parent fb9a155e4c
commit 3c7fbed709

View File

@ -317,7 +317,8 @@ public class PirateChain extends Bitcoiny {
// TODO: JSONArray outgoingMetadatas = transactionJson.getJSONArray("outgoing_metadata");
SimpleTransaction transaction = new SimpleTransaction(txId, Math.toIntExact(timestamp), amount, fee, null, null);
long timestampMillis = Math.toIntExact(timestamp) * 1000L;
SimpleTransaction transaction = new SimpleTransaction(txId, timestampMillis, amount, fee, null, null);
transactions.add(transaction);
}
}