diff --git a/core/src/wallet/bitcoin/transaction_builders/BitcoinLikeUtxoPicker.cpp b/core/src/wallet/bitcoin/transaction_builders/BitcoinLikeUtxoPicker.cpp index b9fe592f3..33c06519b 100644 --- a/core/src/wallet/bitcoin/transaction_builders/BitcoinLikeUtxoPicker.cpp +++ b/core/src/wallet/bitcoin/transaction_builders/BitcoinLikeUtxoPicker.cpp @@ -157,12 +157,13 @@ namespace ledger { return Future::successful(unit); } // Set timestamp - buddy->explorer->getTimestamp().onComplete(getContext(), [=](const Try ×tamp) { - if (timestamp.isSuccess()) { - buddy->transaction->setTimestamp(timestamp.getValue()); - } - }); - + if (_currency.bitcoinLikeNetworkParameters->UsesTimestampedTransaction) { + buddy->explorer->getTimestamp().onComplete(getContext(), [=](const Try ×tamp) { + if (timestamp.isSuccess()) { + buddy->transaction->setTimestamp(timestamp.getValue()); + } + }); + } return buddy->explorer->getCurrentBlock().map(getContext(), [=](const std::shared_ptr &block) -> Unit { buddy->transaction->setLockTime(static_cast(block->height)); return unit;