Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcutil
  Commit: ff82dacded1c76d101bce55c394c03c0bbff69e8
      
https://github.com/btcsuite/btcutil/commit/ff82dacded1c76d101bce55c394c03c0bbff69e8
  Author: Dave Collins <[email protected]>
  Date:   2015-11-10 (Tue, 10 Nov 2015)

  Changed paths:
    M hdkeychain/example_test.go
    M hdkeychain/extendedkey.go
    M hdkeychain/extendedkey_test.go

  Log Message:
  -----------
  hdkeychain: Update NewMaster to accept network.

This changes the NewMaster function to accept the network the generated
extended master key is associated with.  This could previously be done
by calling SetNet on the returned extended key, but that approach is
more error prone since it is easy for a caller to forget to do it or
never know they should to begin with.


Reply via email to