public static class NotaryError.Conflict extends NotaryError
Occurs when one or more input states have already been consumed by another transaction.
public Conflict(@NotNull
SecureHash txId,
@NotNull
java.util.Map<net.corda.core.contracts.StateRef,net.corda.core.flows.StateConsumptionDetails> consumedStates)
Occurs when one or more input states have already been consumed by another transaction.
txId - Id of the transaction that was attempted to be notarised.consumedStates - Specifies which states have already been consumed in another transaction.@NotNull public java.lang.String toString()
@NotNull public SecureHash getTxId()
Id of the transaction that was attempted to be notarised.
@NotNull public java.util.Map<net.corda.core.contracts.StateRef,net.corda.core.flows.StateConsumptionDetails> getConsumedStates()
Specifies which states have already been consumed in another transaction.
@NotNull public SecureHash component1()
Id of the transaction that was attempted to be notarised.
@NotNull public java.util.Map<net.corda.core.contracts.StateRef,net.corda.core.flows.StateConsumptionDetails> component2()
Specifies which states have already been consumed in another transaction.
@NotNull
public net.corda.core.flows.NotaryError.Conflict copy(@NotNull
SecureHash txId,
@NotNull
java.util.Map<net.corda.core.contracts.StateRef,net.corda.core.flows.StateConsumptionDetails> consumedStates)
Occurs when one or more input states have already been consumed by another transaction.
public int hashCode()
Occurs when one or more input states have already been consumed by another transaction.
public boolean equals(@Nullable
java.lang.Object p)
Occurs when one or more input states have already been consumed by another transaction.