0

我尝试通过 Braid 调用流程。流程将List<UniqueIdentifier>对象作为输入参数。调用流程时出现以下错误:

error: -32000: java.util.LinkedHashMap cannot be cast to net.corda.core.contracts.UniqueIdentifier

有人可以帮忙吗?

4

1 回答 1

0

这是 Braid 的反序列化错误。它可能会在未来的版本中得到修复。目前的解决方法是在 Corda 中使用 Array 对象而不是 List 对象。

有用的功能是:

List.toTypedArray()

Array.asList()
于 2018-10-11T13:15:59.610 回答