Browse Source

Minor fix

master
Tal Kol 3 years ago
parent
commit
8d88c689da
  1. 2
      test/helpers.ts

2
test/helpers.ts

@ -16,7 +16,7 @@ export function randomAddress(seed: string, workchain?: number) {
export function internalMessage(params: { from?: Address; to?: Address; value?: BN; bounce?: boolean; body?: Cell }) { export function internalMessage(params: { from?: Address; to?: Address; value?: BN; bounce?: boolean; body?: Cell }) {
const message = params.body ? new CellMessage(params.body) : undefined; const message = params.body ? new CellMessage(params.body) : undefined;
return new InternalMessage({ return new InternalMessage({
from: params.from ?? randomAddress("seed"), from: params.from ?? randomAddress("sender"),
to: params.to ?? zeroAddress, to: params.to ?? zeroAddress,
value: params.value ?? 0, value: params.value ?? 0,
bounce: params.bounce ?? true, bounce: params.bounce ?? true,

Loading…
Cancel
Save