# Mac node error on handshake, block height - Please Assist

**URL:** <https://forum.cosmos.network/t/mac-node-error-on-handshake-block-height-please-assist/2352>\
**Category:** Cosmos-SDK\
**Created:** [June 21, 2019, 11:54pm UTC](https://forum.cosmos.network/t/mac-node-error-on-handshake-block-height-please-assist/2352 "2019-06-21T23:54:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cryptocody](https://avatars.discourse-cdn.com/v4/letter/c/bb73d2/32.png) [@cryptocody](https://forum.cosmos.network/u/cryptocody)\
**Post date:** [June 21, 2019, 11:54pm UTC](https://forum.cosmos.network/t/mac-node-error-on-handshake-block-height-please-assist/2352/1 "2019-06-21T23:54:14Z")

</div>

Running node on Mac (go, brew, gaiad, gaiacli). Node was running fine for months, terminated program (not the first time), restarted computer, went to restart node, got the following error:

USC02XF5:~ USER$ cd .gaiad  
USC02XF5:.gaiad USER$ gaiad start  
I[2019-06-21|16:34:03.363] Starting ABCI with Tendermint module=main  
ERROR: Error during handshake: Error on replay: Wrong Block.Header.AppHash. Expected 91929AA0CA75E18855F6709D64812C0317241209309BEA4B088E4A41D2A876F6, got 840B34D2AEC07BF586EB8B59E2E503FE8D786BE18ACF816A62FF5817ECFCCD48

Been searching for a week or two for a fix online, but can’t find anything definitive except old testnet bugs. Not sure if applies, please assist. Thank you!

---

<div class="post-metadata">

**Author:** ![09qw123](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.cosmos.network/09qw123/32/465_2.png) [@09qw123](https://forum.cosmos.network/u/09qw123)\
**Post date:** [June 28, 2019, 12:43am UTC](https://forum.cosmos.network/t/mac-node-error-on-handshake-block-height-please-assist/2352/2 "2019-06-28T00:43:57Z")

</div>

This is a known bug that was fixed in the following version:

> **[cosmos/cosmos-sdk](https://github.com/cosmos/cosmos-sdk/tree/release/v0.34.7)**
>
> :chains: Blockchain Application Framework :sparkles: - cosmos/cosmos-sdk

---

<div class="post-metadata">

**Author:** ![cryptocody](https://avatars.discourse-cdn.com/v4/letter/c/bb73d2/32.png) [@cryptocody](https://forum.cosmos.network/u/cryptocody)\
**Post date:** [July 18, 2019, 7:01pm UTC](https://forum.cosmos.network/t/mac-node-error-on-handshake-block-height-please-assist/2352/3 "2019-07-18T19:01:14Z")

</div>

Thank you! Could you also assist with info on how to best update sdk repo?

---

<div class="post-metadata">

**Author:** ![09qw123](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.cosmos.network/09qw123/32/465_2.png) [@09qw123](https://forum.cosmos.network/u/09qw123)\
**Post date:** [July 23, 2019, 11:52pm UTC](https://forum.cosmos.network/t/mac-node-error-on-handshake-block-height-please-assist/2352/4 "2019-07-23T23:52:32Z")

</div>

@kwunyeung has posted a useful script at some point in the past that could act as a nice reference point to update sdk [https://gist.github.com/kwunyeung/802965472b526513f12793eeaef5abd2](https://gist.github.com/kwunyeung/802965472b526513f12793eeaef5abd2)
