-BEGIN VERIFY SCRIPT- sed -i --regexp-extended -e 's/const CWalletTx ?\* ?pcoin = &/const CWalletTx\& wtx = /g' src/wallet/wallet.cpp sed -i -e 's/\<pcoin->/wtx./g' src/wallet/wallet.cpp sed -i -e 's/\<pcoin\>/\&wtx/g' src/wallet/wallet.cpp -END VERIFY SCRIPT-
This is a partial backport of Core PR15596 : https://github.com/bitcoin/bitcoin/pull/15596/commits/faa3a246e8809b4954a4a6d202fe8c7f7f776b6e
Depends on D6221