Use GetAllOutputTypes in getblock RPC function

This commit is contained in:
Kiminuo committed 2022-02-21 12:56:43 +01:00
1 parent d970a85d33
commit c821ab8be8
1 file changed
+1 -1
+1 -1
View File
@@ -1037,7 +1037,7 @@ static RPCHelpMan getblock()
{RPCResult::Type::STR, "asm", "The asm"},
{RPCResult::Type::STR, "hex", "The hex"},
{RPCResult::Type::STR, "address", /* optional */ true, "The Bitcoin address (only if a well-defined address exists)"},
{RPCResult::Type::STR, "type", "The type, eg 'pubkeyhash'"},
{RPCResult::Type::STR, "type", "The type (one of: " + GetAllOutputTypes() + ")"},
}},
}},
}},