Skip to content
Snippets Groups Projects
Commit 376041fc authored by Krzysztof Leśniak's avatar Krzysztof Leśniak Committed by Bartek Wrona
Browse files

Remove unused parameter

parent c452c46e
No related branches found
No related tags found
6 merge requests!627merge in fix for get_current_block_age,!626Fix get_current_block_age function to avoid healthcheck fails,!622merge develop to master,!599merge ( with merge commit) develop to master,!597Merge develop to master for release,!264Implement conversion functions from custom operation type to specific sql operation type
......@@ -46,7 +46,7 @@ Datum comment_operation_to_sql_tuple(const hive::protocol::comment_operation& co
PG_RETURN_DATUM(HeapTupleGetDatum(tuple));
}
Datum asset_to_sql_tuple(const hive::protocol::asset& asset, FunctionCallInfo fcinfo)
Datum asset_to_sql_tuple(const hive::protocol::asset& asset)
{
TupleDesc desc = RelationNameGetTupleDesc("hive.asset");
BlessTupleDesc(desc);
......@@ -76,7 +76,7 @@ Datum comment_options_operation_to_sql_tuple(const hive::protocol::comment_optio
Datum values[] = {
CStringGetTextDatum(static_cast<std::string>(options.author).c_str()),
CStringGetTextDatum(options.permlink.c_str()),
asset_to_sql_tuple(options.max_accepted_payout, fcinfo),
asset_to_sql_tuple(options.max_accepted_payout),
UInt16GetDatum(options.percent_hbd),
BoolGetDatum(options.allow_votes),
BoolGetDatum(options.allow_curation_rewards),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment