Ejemplo n.º 1
0
        public async Task can_change_address()
        {
            var newAddress = new Address("0xa7f8522f15a189e03d2f895b452814f84516cd7b");
            await providerService.ChangeAddressAsync(newAddress);

            depositManager.Received().ChangeAddress(newAddress);
            Assert.AreEqual(providerService.GetAddress(), newAddress);
        }
Ejemplo n.º 2
0
 public Task ChangeProviderAddressAsync(INdmPeer peer, Address address)
 => _providerService.ChangeAddressAsync(peer, address);
        public async Task <ResultWrapper <Address> > ndm_changeProviderAddress(Address address)
        {
            await _providerService.ChangeAddressAsync(address);

            return(ResultWrapper <Address> .Success(address));
        }