lib/zold/patch.rb in zold-0.14.50 vs lib/zold/patch.rb in zold-0.14.51

- old
+ new

@@ -103,10 +103,10 @@ end unless @wallets.find(txn.bnf, &:exists?) @log.error("Paying wallet file is absent: #{txn.to_text}") next end - unless @wallets.find(txn.bnf) { |p| p.has?(txn.id, wallet.id) } + unless @wallets.find(txn.bnf) { |p| p.includes_negative?(txn.id, wallet.id) } @log.error("Paying wallet #{txn.bnf} doesn't have transaction ##{txn.id} \ among #{payer.txns.count} transactions: #{txn.to_text}") next end end