Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik committed Jan 23, 2023
1 parent 6354e31 commit 39bfc15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/protocol/docs/bridge/EtherVault.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ receive() external payable
function init(address addressManager) external
```

### receiveEther
### sendEther

```solidity
function receiveEther(uint256 amount) public
function sendEther(uint256 amount) public
```

Send Ether from EtherVault to the sender, checking they are authorized.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe("LibBridgeProcess", async function () {
`${blockChainId}.ether_vault`,
etherVault.address
);
// Sends initial value of 10 ether to EtherVault for receiveEther calls
// Sends initial value of 10 ether to EtherVault for sendEther calls
await owner.sendTransaction({
to: etherVault.address,
value: ethers.utils.parseEther("10.0"),
Expand Down

0 comments on commit 39bfc15

Please sign in to comment.