wallet/http: fix signing.
This commit is contained in:
parent
f701af0b74
commit
2084e26d0d
@ -462,6 +462,7 @@ HTTPServer.prototype.initRouter = function initRouter() {
|
||||
enforce(raw, 'TX is required.');
|
||||
|
||||
const tx = MTX.fromRaw(raw);
|
||||
tx.view = await req.wallet.getCoinView(tx);
|
||||
|
||||
await req.wallet.sign(tx, passphrase);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user