mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
[Engine] Add string describing the type of node (#17571)
Co-authored-by: Remy <remy.haemmerle@daml.com>
This commit is contained in:
parent
61ba0fa6fa
commit
76f74987f4
@ -20,6 +20,11 @@ sealed abstract class Node extends Product with Serializable with CidContainer[N
|
||||
}
|
||||
|
||||
def mapNodeId(f: NodeId => NodeId): Node
|
||||
|
||||
/** String describing the type of node
|
||||
*/
|
||||
// Used by Canton to report errors
|
||||
def nodeType: String = productPrefix
|
||||
}
|
||||
|
||||
object Node {
|
||||
|
Loading…
Reference in New Issue
Block a user