mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
correctly bill parameters during sethook create mode, update tests
This commit is contained in:
@@ -63,13 +63,6 @@ module.exports = {
|
||||
};
|
||||
|
||||
|
||||
const wasmFee = (x) =>
|
||||
{
|
||||
if (x.slice(0,1) != '/')
|
||||
x = 'wasm/' + x;
|
||||
return "" + (fs.readFileSync( x).length * 500) + 20;
|
||||
}
|
||||
|
||||
const feeCompute = (account_seed, txn_org) =>
|
||||
{
|
||||
return new Promise((resolve, reject) =>
|
||||
@@ -226,7 +219,6 @@ module.exports = {
|
||||
fee: fee,
|
||||
genesisseed: genesisseed,
|
||||
genesisaddr: genesisaddr,
|
||||
wasmFee: wasmFee,
|
||||
feeCompute: feeCompute,
|
||||
feeSubmit: feeSubmit
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user