Return a pointer to the current state if it is of type T, otherwise nullptr.
Declared in <wallet/transaction.h>
Return a pointer to the current state if it is of type T, otherwise nullptr.
template<typename T>
T const*
state() const;
» more...
Return a pointer to the current state if it is of type T, otherwise nullptr.
template<typename T>
T*
state();
» more...
A pointer to the state if it holds type T, otherwise nullptr.