Skip to content

can't create new wallet, build fail #1

@DeadNumbers

Description

@DeadNumbers
# btc/vendor/github.com/bcext/cashwallet/walletdb/bdb
vendor/github.com/bcext/cashwallet/walletdb/bdb/db.go:12:2: imported and not used: "btc/vendor/github.com/coreos/bbolt"
vendor/github.com/bcext/cashwallet/walletdb/bdb/db.go:55:10: undefined: bolt
vendor/github.com/bcext/cashwallet/walletdb/bdb/db.go:104:13: undefined: bolt
# btc/vendor/github.com/bcext/cashwallet/chain
vendor/github.com/bcext/cashwallet/chain/bitcoind_conn.go:184:32: not enough arguments in call to conn.Receive
        have ()
        want ([][]byte)
vendor/github.com/bcext/cashwallet/chain/bitcoind_conn.go:260:32: not enough arguments in call to conn.Receive
        have ()
        want ([][]byte)
func newWallet() {
	seed, err := hdkeychain.GenerateSeed(hdkeychain.RecommendedSeedLen)
	if err != nil {
		log.Fatal(err)
	}
	w, err := wallet.Create("test.wallet", "pass", seed)
	if err != nil {
		log.Fatal(err)
	}
	addrs, err := w.GenAddresses(10)
	if err != nil {
		log.Fatal(err)
	}
	for _, i := range addrs {
		fmt.Println(i.String())
	}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions