Merge commit '6aa007d' into 0.4.x

This commit is contained in:
Luke Dashjr
2014-11-21 23:45:36 +00:00

View File

@@ -54,6 +54,8 @@ gbt_capabilities_t blktmpl_getcapability(const char *n) {
for (unsigned int i = 0; i < GBT_CAPABILITY_COUNT; ++i)
if (capnames[i] && !strcasecmp(n, capnames[i]))
return 1 << i;
if (!strcasecmp(n, "transactions"))
return BMM_TXNADD; // Odd one as it's overloaded w/"transactions/add" per spec
return 0;
}