Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .vscode/dryrun.log
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
make --dry-run --always-make --keep-going --print-directory
make: Entering directory '/home/abims/Desktop/SafeKeep'
make: Leaving directory '/home/abims/Desktop/SafeKeep'

Expand Down
5 changes: 4 additions & 1 deletion contracts/libraries/LibKeep.sol
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,8 @@ library LibKeep {
// vs.inheritorAllocatedERC20Tokens[msg.sender],
// token
// );
vs.inheritorTokenShares[msg.sender][token] = 0;

vs.inheritorAllocatedERC20Tokens[msg.sender][i];
IERC20(token).transfer(msg.sender, amountToClaim);
emit ERC20TokensClaimed(msg.sender, token, amountToClaim, _vaultID());
}
Expand Down Expand Up @@ -629,7 +630,9 @@ library LibKeep {
if (tokenID == 0) {
//check for whitelist
if (vs.whitelist[msg.sender][token]) {

vs.whitelist[msg.sender][token] = false;

vs.inheritorAllocatedERC721TokenAddresses[msg.sender][i] = 0;

IERC721(token).transferFrom(address(this), msg.sender, 0);
Expand Down