We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8626f56 commit 54fb07dCopy full SHA for 54fb07d
contract/AElf.Contracts.MultiToken/TokenContract_Actions.cs
@@ -697,8 +697,10 @@ public override Empty ExtendSeedExpirationTime(ExtendSeedExpirationTimeInput inp
697
Assert(tokenInfo != null, "Seed NFT does not exist.");
698
Assert(tokenInfo.Owner == Context.Sender, "Sender is not Seed NFT owner.");
699
700
- tokenInfo.ExternalInfo.Value["__seed_exp_time"] = input.ExpirationTime;
701
- return base.ExtendSeedExpirationTime(input);
+ tokenInfo.ExternalInfo.Value[TokenContractConstants.SeedExpireTimeExternalInfoKey] = input.ExpirationTime.ToString();
+ State.TokenInfos[input.Symbol] = tokenInfo;
702
+ base.ExtendSeedExpirationTime(input);
703
+ return new Empty();
704
}
705
706
private int GetMaxBatchApproveCount()
0 commit comments