mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Merge f6fdedf850 into merged_master (Bitcoin PR bitcoin/bitcoin#25648)
This commit is contained in:
commit
12dbf6cb9d
40 changed files with 289 additions and 251 deletions
|
|
@ -14,9 +14,9 @@
|
|||
#include <deploymentinfo.h>
|
||||
#include <deploymentstatus.h>
|
||||
#include <key_io.h>
|
||||
#include <mempool_args.h>
|
||||
#include <net.h>
|
||||
#include <node/context.h>
|
||||
#include <node/mempool_args.h>
|
||||
#include <node/miner.h>
|
||||
#include <policy/policy.h>
|
||||
#include <pow.h>
|
||||
|
|
@ -1566,7 +1566,7 @@ static RPCHelpMan testproposedblock()
|
|||
for (auto& transaction : block.vtx) {
|
||||
if (transaction->IsCoinBase()) continue;
|
||||
std::string reason;
|
||||
if (!IsStandardTx(*transaction, reason)) {
|
||||
if (!IsStandardTx(*transaction, std::nullopt, DEFAULT_PERMIT_BAREMULTISIG, CFeeRate{DUST_RELAY_TX_FEE}, reason)) {
|
||||
throw JSONRPCError(RPC_VERIFY_ERROR, "Block proposal included a non-standard transaction: " + reason);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue