Skip to content

Commit 8120056

Browse files
committed
Version fix no longer needed
1 parent 3518b0b commit 8120056

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

data/transactions/logic/assembler.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,11 +1246,6 @@ func (ops *OpStream) assemble(fin io.Reader) error {
12461246
}
12471247
}
12481248

1249-
// if the version was not fixed above (because there were no opcodes), fix it now
1250-
if ops.Version == assemblerNoVersion {
1251-
ops.Version = AssemblerDefaultVersion
1252-
}
1253-
12541249
// backward compatibility: do not allow jumps behind last instruction in TEAL v1
12551250
if ops.Version <= 1 {
12561251
for label, dest := range ops.labels {

0 commit comments

Comments
 (0)