Skip to content

Commit

Permalink
fixing JS test
Browse files Browse the repository at this point in the history
  • Loading branch information
kushti committed Jul 31, 2024
1 parent 2c8df31 commit 6981c34
Show file tree
Hide file tree
Showing 2 changed files with 3,324 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -444,10 +444,10 @@ object ReflectionData {
mkMethod(clazz, "decodePoint", Array[Class[_]](cColl)) { (obj, args) =>
obj.asInstanceOf[SigmaDslBuilder].decodePoint(args(0).asInstanceOf[Coll[Byte]])
},
mkMethod(clazz, "encodeNbits", Array[Class[_]](cColl)) { (obj, args) =>
mkMethod(clazz, "encodeNbits", Array[Class[_]](classOf[BigInt])) { (obj, args) =>
obj.asInstanceOf[SigmaDslBuilder].encodeNbits(args(0).asInstanceOf[BigInt])
},
mkMethod(clazz, "decodeNbits", Array[Class[_]](cColl)) { (obj, args) =>
mkMethod(clazz, "decodeNbits", Array[Class[_]](classOf[Long])) { (obj, args) =>
obj.asInstanceOf[SigmaDslBuilder].decodeNbits(args(0).asInstanceOf[Long])
}
)
Expand Down
Loading

0 comments on commit 6981c34

Please sign in to comment.