wallet: update stored witness in AddToWallet
commitd01a9682b126a5f83c7311e652e6e62f2c2e1d20
authorSuhas Daftuar <sdaftuar@chaincode.com>
Sun, 3 Sep 2017 12:43:35 +0000 (3 08:43 -0400)
committerSuhas Daftuar <sdaftuar@chaincode.com>
Sun, 3 Sep 2017 12:57:17 +0000 (3 08:57 -0400)
tree488fe400d249d0e1bea2f34bfdb2364ecefbec52
parentce665863b137ac4a7470cf006a92aa7694faca71
wallet: update stored witness in AddToWallet

Replace witness-stripped wallet transactions with full transactions;
this can happen when upgrading from a pre-segwit wallet to a segwit-
aware wallet.
src/wallet/wallet.cpp