Merge branch 'feat_central_broker' of github.com:Agorise/graphenej into feat_central_broker

This commit is contained in:
Nelson R. Perez 2018-06-01 21:45:37 -05:00
commit 3125f07da5

View file

@ -160,6 +160,7 @@ public class GetRelativeAccountHistory extends BaseGrapheneHandler {
}else if(baseResponse.id >= GET_HISTORY_DATA){
Type RelativeAccountHistoryResponse = new TypeToken<WitnessResponse<List<OperationHistory>>>(){}.getType();
GsonBuilder gsonBuilder = new GsonBuilder();
gsonBuilder.registerTypeAdapter(OperationHistory.class, new OperationHistory.OperationHistoryDeserializer());
gsonBuilder.registerTypeAdapter(TransferOperation.class, new TransferOperation.TransferDeserializer());
gsonBuilder.registerTypeAdapter(AssetAmount.class, new AssetAmount.AssetAmountDeserializer());
gsonBuilder.registerTypeAdapter(Memo.class, new Memo.MemoDeserializer());