Skip to content

Commit

Permalink
add missing protocol package import
Browse files Browse the repository at this point in the history
  • Loading branch information
cce committed May 17, 2022
1 parent 32df92c commit f20042a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion printer/print.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,10 @@ func generate(f *parse.FileSet, mode gen.Method) (*bytes.Buffer, *bytes.Buffer,
writePkgHeader(testbuf, f.Package)
writeImportHeader(
testbuf,
"github.com/algorand/msgp/msgp", "github.com/algorand/go-algorand/test/partitiontest", "testing")
"github.com/algorand/msgp/msgp",
"github.com/algorand/go-algorand/protocol"
"github.com/algorand/go-algorand/test/partitiontest",
"testing")
testwr = testbuf
}
funcbuf := bytes.NewBuffer(make([]byte, 0, 4096))
Expand Down

0 comments on commit f20042a

Please sign in to comment.