Merge remote-tracking branch 'origin/add-proof-of-burn-feature' into add-proof-of-burn-feature

This commit is contained in:
Manfred Karrer 2018-11-12 20:24:21 -05:00
commit 630090bb17
No known key found for this signature in database
GPG Key ID: 401250966A6B2C46

View File

@ -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);