mirror of
https://github.com/SimplexDevelopment/FreedomNetworkSuite.git
synced 2025-07-01 13:16:42 +00:00
Add method for directly setting a transaction's balance
This commit is contained in:
@ -53,4 +53,10 @@ public class SimpleTransaction implements Transaction
|
||||
{
|
||||
return this.addBalance(-amount);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setBalance(long newBalance)
|
||||
{
|
||||
balance.set(newBalance);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user