From 2084e26d0d2a93f987169ecb114df94bb6904e2c Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Thu, 3 Aug 2017 19:28:33 -0700 Subject: [PATCH] wallet/http: fix signing. --- lib/wallet/http.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/wallet/http.js b/lib/wallet/http.js index 8ee5ff7c..01e95d3b 100644 --- a/lib/wallet/http.js +++ b/lib/wallet/http.js @@ -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);