CORDA-1894 Remove if condition from service hub that prevents vault logic executing. (#3773)

This commit is contained in:
Rick Parker
2018-08-13 14:17:03 +01:00
committed by GitHub
parent 0746b1f927
commit 0a18979307

View File

@ -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