lib/zold/patch.rb in zold-0.14.26 vs lib/zold/patch.rb in zold-0.14.27
- old
+ new
@@ -123,9 +123,10 @@
before = ''
before = AtomicFile.new(file).read if File.exist?(file)
wallet = Wallet.new(file)
wallet.init(@id, @key, overwrite: overwrite, network: @network)
@txns.each { |t| wallet.add(t) }
+ wallet.refurbish
after = AtomicFile.new(file).read
before != after
end
end
end