lib/zold/node/front.rb in zold-0.14.5 vs lib/zold/node/front.rb in zold-0.14.6
- old
+ new
@@ -223,16 +223,9 @@
before = wallet.exists? ? AtomicFile.new(wallet.path).read.to_s : ''
if before == after
status 304
return
end
- if before != after && before.length == after.length
- settings.log.debug(
- "Weird... the wallet #{id} is of the same length #{after.length}, but the content is different:\n" +
- Diffy::Diff.new(before, after, context: 0).to_s
- )
- end
- settings.log.info("Wallet #{id} is new: #{before.length}b != #{after.length}b")
settings.entrance.push(id, after)
JSON.pretty_generate(
version: settings.version,
score: score.to_h,
wallets: settings.wallets.all.count