lib/bip44/bitcoin.rb in bip44-0.2.14 vs lib/bip44/bitcoin.rb in bip44-0.2.16

- old
+ new

@@ -3,10 +3,15 @@ def get_bitcoin_address(path) node = @wallet_node.node_for_path(path) node.to_address end + def get_bitcoin_address(index) + sub_wallet = sub_wallet() + sub_wallet.bitcoin_address + end + def bitcoin_address - @wallet_node.public_key.to_hex + @wallet_node.public_key.to_address end end end \ No newline at end of file