OSDN Git Service

rename (#465)
[bytom/vapor.git] / blockchain / txbuilder / witness.go
index 7447ba8..5437a58 100644 (file)
@@ -3,9 +3,9 @@ package txbuilder
 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
@@ -33,7 +33,7 @@ func materializeWitnesses(txTemplate *Template) error {
 
                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)
                        }