mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
fix settings.json schema to allow null to
'walletSize', 'transferRate', 'emailHash' and 'walletLocator' fields so they can be cleared cover api/transaction/settings.js with tests
This commit is contained in:
@@ -9,7 +9,7 @@ const AccountFields = utils.common.constants.AccountFields;
|
||||
const Transaction = utils.common.core.Transaction;
|
||||
|
||||
// Emptry string passed to setting will clear it
|
||||
const CLEAR_SETTING = '';
|
||||
const CLEAR_SETTING = null;
|
||||
|
||||
function setTransactionFlags(transaction, values) {
|
||||
const keys = Object.keys(values);
|
||||
|
||||
Reference in New Issue
Block a user