tonutils-go
tonutils-go copied to clipboard
Why don't the state init code match the browser's code?
the code generate stateInitCode as below if raw.StateInit != nil && raw.StateInit.Code != nil { msg.StateInitCode = raw.StateInit.Code.ToBOC() } but the result return isn't match the browser as below https://tonviewer.com/EQBynBO23ywHy_CgarY9NK9FTz0yDsG82PtcbSTQgGoXwiuA?section=code
The difference can be because generated boc contains crc flag, so it is 4 bytes longer, but you can compare cell hashes and they should be same