wallet: expose witness option over http.
This commit is contained in:
parent
041be74232
commit
f04ad612b2
@ -210,6 +210,7 @@ HTTPServer.prototype.initRouter = function initRouter() {
|
|||||||
passphrase: valid.str('passphrase'),
|
passphrase: valid.str('passphrase'),
|
||||||
master: valid.str('master'),
|
master: valid.str('master'),
|
||||||
mnemonic: valid.str('mnemonic'),
|
mnemonic: valid.str('mnemonic'),
|
||||||
|
witness: valid.bool('witness'),
|
||||||
accountKey: valid.str('accountKey'),
|
accountKey: valid.str('accountKey'),
|
||||||
watchOnly: valid.bool('watchOnly')
|
watchOnly: valid.bool('watchOnly')
|
||||||
});
|
});
|
||||||
@ -230,6 +231,7 @@ HTTPServer.prototype.initRouter = function initRouter() {
|
|||||||
passphrase: valid.str('passphrase'),
|
passphrase: valid.str('passphrase'),
|
||||||
master: valid.str('master'),
|
master: valid.str('master'),
|
||||||
mnemonic: valid.str('mnemonic'),
|
mnemonic: valid.str('mnemonic'),
|
||||||
|
witness: valid.bool('witness'),
|
||||||
accountKey: valid.str('accountKey'),
|
accountKey: valid.str('accountKey'),
|
||||||
watchOnly: valid.bool('watchOnly')
|
watchOnly: valid.bool('watchOnly')
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user