Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#KDevelop4 IDE files
*.kdev4
5 changes: 4 additions & 1 deletion src/bitcoinapi/bitcoinapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ BitcoinAPI::~BitcoinAPI()
delete httpClient;
}

Value BitcoinAPI::sendcommand(const string& command, const Value& params){
Value BitcoinAPI::sendcommand(const string& command, const Value& params){
Value result;

try{
Expand Down Expand Up @@ -576,6 +576,7 @@ vector<transactioninfo_t> BitcoinAPI::listtransactions() {

tmp.time = val["time"].asInt();
tmp.timereceived = val["timereceived"].asInt();
tmp.vout = val["vout"].asInt();

ret.push_back(tmp);
}
Expand Down Expand Up @@ -614,6 +615,7 @@ vector<transactioninfo_t> BitcoinAPI::listtransactions(const string& account, in

tmp.time = val["time"].asInt();
tmp.timereceived = val["timereceived"].asInt();
tmp.vout = val["vout"].asInt();

ret.push_back(tmp);
}
Expand Down Expand Up @@ -1023,6 +1025,7 @@ txsinceblock_t BitcoinAPI::listsinceblock(const string& blockhash, int target_co

tmp.time = val["time"].asInt();
tmp.timereceived = val["timereceived"].asInt();
tmp.vout = val["vout"].asInt();

ret.transactions.push_back(tmp);
}
Expand Down
1 change: 1 addition & 0 deletions src/bitcoinapi/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
std::vector<std::string> walletconflicts;
int time;
int timereceived;
int vout;
};

struct multisig_t{
Expand Down