From 747cbd3b8d47cf124a9f121d5e8b7fc94521ecc1 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 27 Nov 2015 22:02:33 -0800 Subject: Implement send transaction function --- public/js/calculator.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/js/calculator.coffee') diff --git a/public/js/calculator.coffee b/public/js/calculator.coffee index f709465f..d3108591 100644 --- a/public/js/calculator.coffee +++ b/public/js/calculator.coffee @@ -176,7 +176,7 @@ getAddress = -> try master = bitcoin.HDNode.fromBase58(g.user.pubkey) child = master.derive(0).derive(g.user.index) - g.user.address = child.pubKey.getAddress().toString() + g.user.address = child.getAddress().toString() g.blockchain.close() if g.blockchain listen() catch -- cgit v1.2.3