Skip to content

Commit

Permalink
CORE-2433 map-any
Browse files Browse the repository at this point in the history
  • Loading branch information
jeapostrophe committed Dec 21, 2022
1 parent ee217a7 commit 287df51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hs/src/Reach/Connector/ALGO.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ cMapDel = libCall LF_mapDel $ do
op "box_del"
-- [ mbr, existed ]
after <- freshLabel "boxDel"
code "bnz" [ after ]
code "bz" [ after ]
-- [ mbr ]
mbrSub
op "retsub"
Expand Down
1 change: 1 addition & 0 deletions js/stdlib/ts/ALGO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2019,6 +2019,7 @@ const connectAccount = async (networkAccount: NetworkAccount): Promise<Account>
}
}

debug(dhead, { mbrDelta });
if ( ! isHalt && ! mbrDelta.eq(0) ) {
if ( mbrDelta.lt(0) ) {
// The delta is negative, so we let the contract pay the deployer
Expand Down

0 comments on commit 287df51

Please sign in to comment.