aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-10-11 10:46:24 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-10-11 14:09:31 +0000
commit1ba9bafd3331f6534242e682bafbd6d863be42ed (patch)
treef043f9e564ce86d187575a6df647b8f47a3299c0 /src/simplewallet/simplewallet.cpp
parentfe443bbdec3ad6cdb7409f61a1e64eda6b32016b (diff)
downloadmonzero-core-1ba9bafd3331f6534242e682bafbd6d863be42ed.tar.gz
monzero-core-1ba9bafd3331f6534242e682bafbd6d863be42ed.tar.xz
monzero-core-1ba9bafd3331f6534242e682bafbd6d863be42ed.zip
tx_pool: do not divide by 0
In case of a 0 tx weight, we use a placeholder value to insert in the fee-per-byte set. This is used for pruning and mining, and those txes are pruned, so will not be too large, nor added to the block template if mining, so this is safe. CID 204465
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
0 files changed, 0 insertions, 0 deletions