mirror of
https://github.com/corda/corda.git
synced 2025-06-17 14:48:16 +00:00
CORDA-1894 Remove if condition from service hub that prevents vault logic executing. (#3773)
This commit is contained in:
@ -65,7 +65,6 @@ interface ServiceHubInternal : ServiceHub {
|
|||||||
log.warn("Transactions recorded from outside of a state machine")
|
log.warn("Transactions recorded from outside of a state machine")
|
||||||
}
|
}
|
||||||
|
|
||||||
if (statesToRecord != StatesToRecord.NONE) {
|
|
||||||
// When the user has requested StatesToRecord.ALL we may end up recording and relationally mapping states
|
// When the user has requested StatesToRecord.ALL we may end up recording and relationally mapping states
|
||||||
// that do not involve us and that we cannot sign for. This will break coin selection and thus a warning
|
// that do not involve us and that we cannot sign for. This will break coin selection and thus a warning
|
||||||
// is present in the documentation for this feature (see the "Observer nodes" tutorial on docs.corda.net).
|
// is present in the documentation for this feature (see the "Observer nodes" tutorial on docs.corda.net).
|
||||||
@ -104,7 +103,6 @@ interface ServiceHubInternal : ServiceHub {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
override val attachments: AttachmentStorageInternal
|
override val attachments: AttachmentStorageInternal
|
||||||
override val vaultService: VaultServiceInternal
|
override val vaultService: VaultServiceInternal
|
||||||
|
Reference in New Issue
Block a user