mirror of
https://github.com/SimplexDevelopment/FreedomNetworkSuite.git
synced 2025-06-26 19:44:27 +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