HcashOrg/hcwallet

go install error

Opened this issue · 0 comments

$ go install . ./cmd/...

github.com/HcashOrg/hcwallet/cmd/sweepaccount

cmd/sweepaccount/main.go:184:9: cannot use func literal (type func(hcutil.Amount) (hcutil.Amount, []*wire.TxIn, [][]byte, error)) as type txauthor.InputSource in return argument
cmd/sweepaccount/main.go:274:45: not enough arguments in call to txauthor.NewUnsignedTransaction
have (nil, hcutil.Amount, txauthor.InputSource, txauthor.ChangeSource, uint8)
want ([]*wire.TxOut, hcutil.Amount, txauthor.InputSource, txauthor.ChangeSource, uint8, *chaincfg.Params, txscript.ScriptDB, string)

Any suggestions how to fix?