Skip to content

Commit

Permalink
Merge branch 'ecadlabs:master' into fix-issue-ecadlabs#1652
Browse files Browse the repository at this point in the history
  • Loading branch information
dvkam authored Jul 10, 2023
2 parents e775d50 + 5e47743 commit d0232ce
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions packages/taquito/src/contract/manager-lambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,10 @@ const transferToContract = (key: string, amount: number) => {
args: [{ prim: 'address' }, { string: key }],
},
{ prim: 'CONTRACT', args: [{ prim: 'unit' }] },
[
{
prim: 'IF_NONE',
args: [[[{ prim: 'UNIT' }, { prim: 'FAILWITH' }]], []],
},
],
{
prim: 'IF_NONE',
args: [[{ prim: 'UNIT' }, { prim: 'FAILWITH' }], []],
},
{
prim: 'PUSH',
args: [{ prim: 'mutez' }, { int: `${amount}` }],
Expand Down

0 comments on commit d0232ce

Please sign in to comment.