lib/bip44/bitcoin.rb in bip44-0.2.3 vs lib/bip44/bitcoin.rb in bip44-0.2.4

- old
+ new

@@ -1,8 +1,8 @@ module Bip44 module Bitcoin - def get_bitcoin_address(index) - node = @wallet_node.node_for_path("M/0/#{index}") + def get_bitcoin_address(path) + node = @wallet_node.node_for_path(path) node.to_address end end end \ No newline at end of file