Change SignTransaction's input_errors to use bilingual_str

This commit is contained in:
Andrew Chow
2021-06-23 17:28:54 -04:00
parent 171366e89b
commit 92993aa5cf
12 changed files with 29 additions and 24 deletions

View File

@@ -294,7 +294,7 @@ CMutableTransaction TestChain100Setup::CreateValidMempoolTransaction(CTransactio
input_coins.insert({outpoint_to_spend, utxo_to_spend});
// - Default signature hashing type
int nHashType = SIGHASH_ALL;
std::map<int, std::string> input_errors;
std::map<int, bilingual_str> input_errors;
assert(SignTransaction(mempool_txn, &keystore, input_coins, nHashType, input_errors));
// If submit=true, add transaction to the mempool.