[#wallet-CWalletTx-updateState] = xref:wallet.adoc[wallet]::xref:wallet/CWalletTx.adoc[CWalletTx]::updateState :relfileprefix: ../../ :mrdocs: Update transaction state when attaching to a chain, filling in heights of conflicted and confirmed blocks == Synopsis Declared in `<wallet/transaction.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void updateState(xref:interfaces/Chain.adoc[interfaces::Chain]& chain); ---- == Parameters [cols="1,4"] |=== | Name| Description | *chain* | The chain interface used to look up block heights. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#