diff --git a/contracts/Bridge/token/XVS.sol b/contracts/Bridge/token/XVS.sol index f259e27..b36f32e 100644 --- a/contracts/Bridge/token/XVS.sol +++ b/contracts/Bridge/token/XVS.sol @@ -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_); } diff --git a/test/bridgeAdmin.ts b/test/bridgeAdmin.ts index e006566..47c5c73 100644 --- a/test/bridgeAdmin.ts +++ b/test/bridgeAdmin.ts @@ -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); });