aboutsummaryrefslogtreecommitdiffstats
path: root/public/js/calculator.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/calculator.coffee')
-rw-r--r--public/js/calculator.coffee2
1 files changed, 1 insertions, 1 deletions
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