Skip to content

Commit

Permalink
fix bcd SC interaction (#667)
Browse files Browse the repository at this point in the history
  • Loading branch information
letier3110 authored Jun 9, 2022
1 parent 6b4ddc7 commit 3bd393d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/temple/activity/moneyDiffs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const estimateTzktTokenTransfers = (
appendToDiff(
'bcd',
toTokenId(tokenTrans.token.contract.address, tokenTrans.token.tokenId),
new BigNumber(tokenTrans.amount).times(isFromAddress ? -1 : 1).toFixed(),
new BigNumber(tokenTrans.amount).times(isToAddress ? 1 : -1).toFixed(),
diffs
);
}
Expand Down

0 comments on commit 3bd393d

Please sign in to comment.