OSDN Git Service

modify import path (#1805)
[bytom/bytom.git] / blockchain / txbuilder / constraint.go
index f99b8fb..d562872 100644 (file)
@@ -1,9 +1,9 @@
 package txbuilder
 
 import (
-       "github.com/bytom/protocol/bc"
-       "github.com/bytom/protocol/vm"
-       "github.com/bytom/protocol/vm/vmutil"
+       "github.com/bytom/bytom/protocol/bc"
+       "github.com/bytom/bytom/protocol/vm"
+       "github.com/bytom/bytom/protocol/vm/vmutil"
 )
 
 // Constraint types express a constraint on an input of a proposed
@@ -29,13 +29,12 @@ func (o outputIDConstraint) code() []byte {
        return prog
 }
 
-
 // PayConstraint requires the transaction to include a given output
 // at the given index, optionally with the given refdatahash.
 type payConstraint struct {
        Index int
        bc.AssetAmount
-       Program     []byte
+       Program []byte
 }
 
 func (p payConstraint) code() []byte {