aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2017-08-26 14:52:03 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2017-09-28 16:24:33 -0700
commite278f12ca71c2d11916352b91594b068183b605e (patch)
tree86f01077650298edbd1e64328707c299a047c35c /src/rpc
parentc091b99379b97cb314c9fa123beabdbc324cf7a4 (diff)
Support BIP173 in addwitnessaddress
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp
index 406ad2f6ec..f54f24e2a7 100644
--- a/src/rpc/client.cpp
+++ b/src/rpc/client.cpp
@@ -129,6 +129,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "logging", 0, "include" },
{ "logging", 1, "exclude" },
{ "disconnectnode", 1, "nodeid" },
+ { "addwitnessaddress", 1, "p2sh" },
// Echo with conversion (For testing only)
{ "echojson", 0, "arg0" },
{ "echojson", 1, "arg1" },