Fix transaction target value

This commit is contained in:
Glenn Y. Rolland 2021-04-04 16:42:25 +02:00
parent ff62ecae0c
commit def86e261c

View file

@ -28,7 +28,7 @@ module Hodler
wallets[to_id] ||= 0 wallets[to_id] ||= 0
wallets[from_id] -= tr.from.amount wallets[from_id] -= tr.from.amount
wallets[fee_id] -= tr.fee.amount wallets[fee_id] -= tr.fee.amount
wallets[to_id] += tr.from.amount wallets[to_id] += tr.to.amount
pp tr pp tr
pp wallets pp wallets