forked from Qortal-Forker/qortal
		
	Change HTTP response codes for BTC_BALANCE_ISSUE and BTC_TOO_SOON from 422 to 402 & 408
This commit is contained in:
		@@ -128,8 +128,8 @@ public enum ApiError {
 | 
			
		||||
 | 
			
		||||
	// Bitcoin
 | 
			
		||||
	BTC_NETWORK_ISSUE(1201, 500),
 | 
			
		||||
	BTC_BALANCE_ISSUE(1202, 422),
 | 
			
		||||
	BTC_TOO_SOON(1203, 422);
 | 
			
		||||
	BTC_BALANCE_ISSUE(1202, 402),
 | 
			
		||||
	BTC_TOO_SOON(1203, 408);
 | 
			
		||||
 | 
			
		||||
	private static final Map<Integer, ApiError> map = stream(ApiError.values()).collect(toMap(apiError -> apiError.code, apiError -> apiError));
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user