diff --git a/AUTHORS b/AUTHORS index 985b89a..b50c216 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1 +1,2 @@ Luke Dashjr +Andy Alness diff --git a/blktemplate.c b/blktemplate.c index ce129a1..32875c2 100644 --- a/blktemplate.c +++ b/blktemplate.c @@ -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; }