Merge pull request #2 from ton-foundation/fix/state-init

fix: state init payload
main
Steve Korshakov 2022-06-03 15:37:46 +04:00 committed by GitHub
commit f873fd1003
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ export class TonhubConnector {
// StateInit
let stateInit: Cell | null = null;
if (typeof request.stateInit === 'string') {
data = Cell.fromBoc(Buffer.from(request.stateInit, 'base64'))[0];
stateInit = Cell.fromBoc(Buffer.from(request.stateInit, 'base64'))[0];
}
// Comment