blktmpl_getcapability: Treat "transactions" mutation the same as "transactions/add" per BIP 0023
This commit is contained in:
@@ -46,6 +46,8 @@ gbt_capabilities_t blktmpl_getcapability(const char *n) {
|
||||
for (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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user