diff --git a/index.html b/index.html
index b48d7f7..6b5f434 100644
--- a/index.html
+++ b/index.html
@@ -1456,6 +1456,19 @@
+
+
+
+
+
HD wallet hardened path derivation :
+
The path derivation for hardened paths was calculated wrong in earlier versions of coinb.in. Please select the old path derivation to recover HD wallet keys generated with older version of coinb.in.
+
+ BIP32 derivation
+ Old coinb.in derivation
+
+
+
+
diff --git a/js/coinbin.js b/js/coinbin.js
index afc98f1..33382ce 100644
--- a/js/coinbin.js
+++ b/js/coinbin.js
@@ -1914,6 +1914,8 @@ $(document).ready(function() {
coinjs.hdkey.pub = $("#coinjs_hdpub").val()*1;
coinjs.hdkey.prv = $("#coinjs_hdprv").val()*1;
+ coinjs.hd_derivation = $("#coinjs_derivation").val();
+
configureBroadcast();
configureGetUnspentTx();
@@ -1959,6 +1961,7 @@ $(document).ready(function() {
$("#coinjs_multisig").val(o[2]);
$("#coinjs_hdpub").val(o[3]);
$("#coinjs_hdprv").val(o[4]);
+ $("#coinjs_derivation").val(o[7]);
// hide/show custom screen
if($("option:selected",this).val()=="custom"){