Skip to content

Commit

Permalink
fix: XVB-02
Browse files Browse the repository at this point in the history
  • Loading branch information
GitGuru7 committed Dec 12, 2023
1 parent 52ff112 commit f57a9ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/Bridge/token/XVS.sol
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ contract XVS is ERC20, TokenController {
* @param to_ Address of the account to which tokens are to be transferred.
* @param amount_ The amount of tokens to be transferred.
*/
function _transfer(address from_, address to_, uint256 amount_) internal override {
function _transfer(address from_, address to_, uint256 amount_) internal override whenNotPaused {
if (_blacklist[to_]) {
revert TransferNotAllowed(to_);
}
Expand Down
2 changes: 1 addition & 1 deletion test/bridgeAdmin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ describe("Bridge Admin: ", function () {
).to.be.revertedWith("Function not found");
});

it("Success on trnafer bridge owner", async function () {
it("Success on transfer bridge owner", async function () {
await bridgeAdmin.connect(acc2).transferBridgeOwnership(acc2.address);
expect(await remoteOFT.owner()).equals(acc2.address);
});
Expand Down

0 comments on commit f57a9ab

Please sign in to comment.