Skip to content

Commit 2d7b3d2

Browse files
committed
fix issue #37
1 parent 1072898 commit 2d7b3d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/virtualPersona/AgentMigrator.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ contract AgentMigrator is Ownable, Pausable {
112112
string memory name,
113113
string memory symbol,
114114
bool canStake
115-
) external noReentrant {
115+
) external noReentrant whenNotPaused {
116116
require(!migratedAgents[id], "Agent already migrated");
117117

118118
IAgentNft.VirtualInfo memory virtualInfo = _nft.virtualInfo(id);

0 commit comments

Comments
 (0)