Merge branch 'feat_central_broker' of github.com:Agorise/graphenej into feat_central_broker
This commit is contained in:
commit
3125f07da5
1 changed files with 1 additions and 0 deletions
|
@ -160,6 +160,7 @@ public class GetRelativeAccountHistory extends BaseGrapheneHandler {
|
||||||
}else if(baseResponse.id >= GET_HISTORY_DATA){
|
}else if(baseResponse.id >= GET_HISTORY_DATA){
|
||||||
Type RelativeAccountHistoryResponse = new TypeToken<WitnessResponse<List<OperationHistory>>>(){}.getType();
|
Type RelativeAccountHistoryResponse = new TypeToken<WitnessResponse<List<OperationHistory>>>(){}.getType();
|
||||||
GsonBuilder gsonBuilder = new GsonBuilder();
|
GsonBuilder gsonBuilder = new GsonBuilder();
|
||||||
|
gsonBuilder.registerTypeAdapter(OperationHistory.class, new OperationHistory.OperationHistoryDeserializer());
|
||||||
gsonBuilder.registerTypeAdapter(TransferOperation.class, new TransferOperation.TransferDeserializer());
|
gsonBuilder.registerTypeAdapter(TransferOperation.class, new TransferOperation.TransferDeserializer());
|
||||||
gsonBuilder.registerTypeAdapter(AssetAmount.class, new AssetAmount.AssetAmountDeserializer());
|
gsonBuilder.registerTypeAdapter(AssetAmount.class, new AssetAmount.AssetAmountDeserializer());
|
||||||
gsonBuilder.registerTypeAdapter(Memo.class, new Memo.MemoDeserializer());
|
gsonBuilder.registerTypeAdapter(Memo.class, new Memo.MemoDeserializer());
|
||||||
|
|
Loading…
Reference in a new issue