public async Task can_change_cold_wallet_address() { var newAddress = new Address("0xa7f8522f15a189e03d2f895b452814f84516cd7b"); await providerService.ChangeColdWalletAddressAsync(newAddress); depositManager.Received().ChangeColdWalletAddress(newAddress); Assert.AreEqual(providerService.GetColdWalletAddress(), newAddress); }
public async Task <ResultWrapper <Address> > ndm_changeProviderColdWalletAddress(Address address) { await _providerService.ChangeColdWalletAddressAsync(address); return(ResultWrapper <Address> .Success(address)); }