import (
"context"
- "github.com/vapor/crypto/ed25519/chainkd"
- chainjson "github.com/vapor/encoding/json"
- "github.com/vapor/errors"
+ "github.com/bytom/vapor/crypto/ed25519/chainkd"
+ chainjson "github.com/bytom/vapor/encoding/json"
+ "github.com/bytom/vapor/errors"
)
// SignFunc is the function passed into Sign that produces
var witness [][]byte
for j, wc := range sigInst.WitnessComponents {
- err := wc.Materialize(&witness)
+ err := wc.materialize(&witness)
if err != nil {
return errors.WithDetailf(err, "error in witness component %d of input %d", j, i)
}