Make the "to"-address field work in new style + BTC transactions fix

This commit is contained in:
Sebastiaan Pasma 2018-08-03 13:13:29 +02:00
commit cebe9507f1
No known key found for this signature in database
GPG key ID: 9A2B0C8B95A1D26F
3 changed files with 5 additions and 3 deletions

View file

@ -531,7 +531,7 @@ function reviewController(addressbookService, bitcoinCashJsService, bitcore, bit
if (tx.coin === 'bch') {
tx.displayAddress = bitcoinCashJsService.readAddress(tx.toAddress).cashaddr;
} else {
tx.displayAddress = entry.address;
tx.displayAddress = tx.toAddress;
}
addressbookService.get(tx.coin+tx.toAddress, function(err, addr) { // Check if the recipient is a contact

View file

@ -386,7 +386,7 @@ angular.module('copayApp.services').factory('incomingData', function($log, $stat
'notify': $state.current.name == 'tabs.send' ? false : true
});
$timeout(function() {
$state.transitionTo('tabs.send.amount', {
$state.transitionTo('tabs.send.origin', {
toAddress: toAddress,
coin: coin,
noPrefix: 1