lib/zold/patch.rb in zold-0.23.5 vs lib/zold/patch.rb in zold-0.23.6
- old
+ new
@@ -104,19 +104,19 @@
if !txn.sign.nil? && !txn.sign.empty?
@log.error("RSA signature is redundant at ##{txn.id} of #{wallet.id}: \"#{txn.to_text}\"")
next
end
unless wallet.prefix?(txn.prefix)
- @log.error("Payment prefix '#{txn.prefix}' doesn't match with the key of #{wallet.id}: \"#{txn.to_text}\"")
+ @log.debug("Payment prefix '#{txn.prefix}' doesn't match with the key of #{wallet.id}: \"#{txn.to_text}\"")
next
end
if !@wallets.acq(txn.bnf, &:exists?) && yield(txn)
unless @wallets.acq(txn.bnf, &:exists?)
@log.error("Paying wallet #{txn.bnf} file is absent even after PULL: \"#{txn.to_text}\"")
next
end
unless @wallets.acq(txn.bnf) { |p| p.includes_negative?(txn.id, wallet.id) }
- @log.error("The beneficiary #{@wallets.acq(txn.bnf, &:mnemo)} of #{@id} \
+ @log.debug("The beneficiary #{@wallets.acq(txn.bnf, &:mnemo)} of #{@id} \
doesn't have this transaction: \"#{txn.to_text}\"")
next
end
end
end