Skip to content

Commit 9b6c7a9

Browse files
authored
docs: fix undefined header in updateState (#1220)
1 parent 9be3630 commit 9b6c7a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/client/ics-009-loopback-cilent/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function updateState(clientMsg: clientMessage) {
127127
128128
// retrieve the latest height from the local ledger
129129
height = getSelfHeight()
130-
clientState.latestHeight = header.height
130+
clientState.latestHeight = height
131131
132132
// save the client state
133133
provableStore.set("clients/{clientMsg.identifier}/clientState", clientState)

0 commit comments

Comments
 (0)