fix: fix signing verification

main
Steve Korshakov 2022-06-17 10:09:42 +04:00
parent 8305fbe7f8
commit 7de78ecfd2
1 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ export class TonhubLocalConnector {
.storeBuffer(Buffer.from(config.subkey.publicKey, 'base64'))
.storeUint(config.subkey.time, 32)
.storeAddress(extracted.address)
.storeRefMaybe(beginCell()
.storeRef(beginCell()
.storeBuffer(Buffer.from(config.subkey.domain))
.endCell())
.endCell();
@ -114,7 +114,7 @@ export class TonhubLocalConnector {
.storeCoins(1)
.storeAddress(extracted.address)
.storeUint(config.time, 32)
.storeRefMaybe(beginCell()
.storeRef(beginCell()
.storeBuffer(Buffer.from(config.subkey.domain))
.endCell())
.endCell();