Skip to content

Commit

Permalink
refactoring error
Browse files Browse the repository at this point in the history
  • Loading branch information
ERussel committed Nov 17, 2022
1 parent 9a8bf47 commit caa1c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SubstrateSdk/Classes/Network/JSONRPCEngine.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ struct JSONRPCBatchHandler: JSONRPCResponseHandling {
} else if let error = rpcData.error {
return .failure(error)
} else {
return .failure(JSONRPCEngineError.unknownError)
return .failure(JSONRPCEngineError.emptyResult)
}
}

Expand Down

0 comments on commit caa1c26

Please sign in to comment.