com.r3corda.core.testing / InMemoryVaultService / currentVault

# currentVault

`open val currentVault: Vault`
Overrides VaultService.currentVault

Returns a read-only snapshot of the vault at the time the call is made. Note that if you consume states or keys in this vault, you must inform the vault service so it can update its internal state.

Getter

Returns a read-only snapshot of the vault at the time the call is made. Note that if you consume states or keys in this vault, you must inform the vault service so it can update its internal state.