fix: state init payload

main
mrmld 2022-06-03 15:33:10 +04:00
parent 8951e2b17a
commit 7b092e2815
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