created backend interface. Cassandra derives from it

This commit is contained in:
CJ Cobb
2021-02-23 14:28:38 -05:00
parent 3ce651ef52
commit 5534d9c75e
12 changed files with 132 additions and 223 deletions

View File

@@ -51,7 +51,7 @@ doTx(
return response;
}
auto dbResponse = backend.fetchTransaction(hash.data());
auto dbResponse = backend.fetchTransaction(hash);
if (!dbResponse)
{
response["error"] = "Transaction not found in Cassandra";