|
|
@@ -23,8 +23,7 @@ public class TransferFactory {
|
|
|
for (JSONObject transfer : transferList.toJavaList(JSONObject.class)) {
|
|
|
PendingTransfer pendingTransfer = FastJson.getJson().parse(transfer.toJSONString(), PendingTransfer.class);
|
|
|
pendingTransfer.setId(chainId + hash+index);
|
|
|
- pendingTransfer.setChainId(chainId);
|
|
|
- pendingTransfer.setHash(hash);
|
|
|
+ pendingTransfer.setPendingId(chainId+hash);
|
|
|
|
|
|
pendingTransferList.add(pendingTransfer);
|
|
|
index ++;
|
|
|
@@ -43,8 +42,7 @@ public class TransferFactory {
|
|
|
for (JSONObject transfer : transferList.toJavaList(JSONObject.class)) {
|
|
|
HistoryTransfer historyTransfer = FastJson.getJson().parse(transfer.toJSONString(), HistoryTransfer.class);
|
|
|
historyTransfer.setId(chainId + hash+index);
|
|
|
- historyTransfer.setChainId(chainId);
|
|
|
- historyTransfer.setHash(hash);
|
|
|
+ historyTransfer.setHistoryId(chainId+hash);
|
|
|
|
|
|
historyTransferList.add(historyTransfer);
|
|
|
index ++;
|