Browse Source

Minor typo

master
Tal Kol 3 years ago
parent
commit
ba7cc42aa8
  1. 2
      contracts/main.ts

2
contracts/main.ts

@ -8,7 +8,7 @@ export function createCode() {
return Cell.fromBoc(fs.readFileSync(__dirname + "/../build/main.cell"))[0]; return Cell.fromBoc(fs.readFileSync(__dirname + "/../build/main.cell"))[0];
} }
// returns contract storage cell according to save_data() contract method // returns contract data cell (storage) according to save_data() contract method
export function createData(params: { ownerAddress: Address; counter: number }) { export function createData(params: { ownerAddress: Address; counter: number }) {
return beginCell().storeAddress(params.ownerAddress).storeUint(params.counter, 64).endCell(); return beginCell().storeAddress(params.ownerAddress).storeUint(params.counter, 64).endCell();
} }

Loading…
Cancel
Save