mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Remove asset wildcard, make default behavior
This commit is contained in:
parent
7fddf61e92
commit
1ebbd1dcd6
7 changed files with 73 additions and 75 deletions
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
using namespace std;
|
||||
|
||||
extern UniValue PushAssetBalance(CAmountMap& balance, CWallet* wallet, std::string& strasset);
|
||||
UniValue PushAssetBalance(CAmountMap& balance, CWallet* wallet, std::string strasset);
|
||||
|
||||
/**
|
||||
* @note Do not add or change anything in the information returned by this
|
||||
|
|
@ -91,7 +91,7 @@ UniValue getinfo(const UniValue& params, bool fHelp)
|
|||
if (pwalletMain) {
|
||||
obj.push_back(Pair("walletversion", pwalletMain->GetVersion()));
|
||||
CAmountMap balance = pwalletMain->GetBalance();
|
||||
std::string strasset = "bitcoin";
|
||||
std::string strasset = "";
|
||||
if (params.size() > 0) {
|
||||
strasset = params[0].get_str();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue