OSDN Git Service

fix style with goimports except p2p directory (#520)
[bytom/bytom.git] / blockchain / txbuilder / constraint.go
index f99b8fb..192e842 100644 (file)
@@ -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 {