示例#1
0
        public bool IsAddressOfParentChain(Address address)
        {
            if (this.IsRootChain())
            {
                return(false);
            }

            var parentName = Nexus.GetParentChainByName(Chain.Name);
            var target     = Nexus.GetChainByAddress(address);

            return(target.Name == parentName);
        }
示例#2
0
 public IChain GetChainByAddress(Address address)
 {
     return(Nexus.GetChainByAddress(address));
 }