mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 10:38:42 +01:00
Use GetAllOutputTypes
in getblock
RPC function
This commit is contained in:
parent
d970a85d33
commit
c821ab8be8
@ -1037,7 +1037,7 @@ static RPCHelpMan getblock()
|
|||||||
{RPCResult::Type::STR, "asm", "The asm"},
|
{RPCResult::Type::STR, "asm", "The asm"},
|
||||||
{RPCResult::Type::STR, "hex", "The hex"},
|
{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, "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() + ")"},
|
||||||
}},
|
}},
|
||||||
}},
|
}},
|
||||||
}},
|
}},
|
||||||
|
Loading…
Reference in New Issue
Block a user