mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 02:12:00 +01:00
Merge remote-tracking branch 'origin/add-proof-of-burn-feature' into add-proof-of-burn-feature
This commit is contained in:
commit
630090bb17
@ -140,7 +140,7 @@ public class ProofOfBurnService implements DaoSetupService, DaoStateListener {
|
||||
|
||||
public Transaction burn(String preImageAsString, long amount) throws InsufficientMoneyException, TxException {
|
||||
try {
|
||||
// We create a prepared Bsq Tx for the listing fee.
|
||||
// We create a prepared Bsq Tx for the burn amount
|
||||
final Transaction preparedBurnFeeTx = bsqWalletService.getPreparedBurnFeeTx(Coin.valueOf(amount));
|
||||
byte[] hash = getHashFromPreImage(preImageAsString);
|
||||
byte[] opReturnData = ProofOfBurnConsensus.getOpReturnData(hash);
|
||||
|
Loading…
Reference in New Issue
Block a user