Skip to content

Commit

Permalink
Merge pull request #9 from Levi-Ojukwu/main
Browse files Browse the repository at this point in the history
created the getTransactionHistory function
  • Loading branch information
Dprof-in-tech authored Dec 16, 2024
2 parents 5801bec + c237ad1 commit 886aaf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Wallet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ contract Wallet {
// View Functions //
////////////////////////////////////////////

function getTransactionHistory() external view returns (Transaction[] memory) {

function getTransactionHistory(address _user) external view returns (Transaction[] memory) {
return transactions[_user];
}

////////////////////////////////////////////////
Expand Down

0 comments on commit 886aaf1

Please sign in to comment.