wallet: expose witness option over http.

This commit is contained in:
Christopher Jeffrey 2017-06-16 23:46:30 -07:00
parent 041be74232
commit f04ad612b2
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -210,6 +210,7 @@ HTTPServer.prototype.initRouter = function initRouter() {
passphrase: valid.str('passphrase'),
master: valid.str('master'),
mnemonic: valid.str('mnemonic'),
witness: valid.bool('witness'),
accountKey: valid.str('accountKey'),
watchOnly: valid.bool('watchOnly')
});
@ -230,6 +231,7 @@ HTTPServer.prototype.initRouter = function initRouter() {
passphrase: valid.str('passphrase'),
master: valid.str('master'),
mnemonic: valid.str('mnemonic'),
witness: valid.bool('witness'),
accountKey: valid.str('accountKey'),
watchOnly: valid.bool('watchOnly')
});