Browse Source

Fix

z_createrawtransaction
Jonathan "Duke" Leto 5 years ago
parent
commit
0f36f0a9fc
  1. 4
      src/wallet/rpcwallet.cpp

4
src/wallet/rpcwallet.cpp

@ -4584,11 +4584,11 @@ UniValue z_createrawtransaction(const UniValue& params, bool fHelp)
}
// Build the transaction
auto maybe_tx = builder_.Build();
auto maybe_tx = builder.Build();
if (!maybe_tx) {
throw JSONRPCError(RPC_WALLET_ERROR, "Failed to build transaction.");
}
auto tx = maybe_tx.get();
//auto tx = maybe_tx.get();
// process outputs
for (const UniValue& o : outputs.getValues()) {

Loading…
Cancel
Save