def V2.down.note
import bend-kit-migrate@0.3.0.0/migrate.bend as Migrateimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
137def V2.down.note(n: Maybe<&1, Bytes.Bytes>, i: U32, p: Bytes.Bytes, c: U32, a: Bool) -> Result<&1, &1, Error, V1>:
138 match n:
139 case None{}:
140 Done{V1{i, p, c, a}}
141 case Some{b}:
142 Fail{NotInV1{KNote{}}}