Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
agiledragon committed Jul 21, 2019
1 parent 4887e37 commit d9fa25d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ struct Response
bool isFailed;
};

void sendTransferToProtocaMsg(const std::string& fromId, const std::string& toId, U32 amount);
void sendTransferToProtocolMsg(const std::string& fromId, const std::string& toId, U32 amount);
Response waitProtocolResp();
void sendProtocolResponse(Response resp);

Expand Down
2 changes: 1 addition & 1 deletion src/domain/model/remote-account/RemoteAccountProvider.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <domain/model/remote-account/RemoteAccountProvider.h>


void sendTransferToProtocaMsg(const std::string& fromId, const std::string& toId, U32 amount)
void sendTransferToProtocolMsg(const std::string& fromId, const std::string& toId, U32 amount)
{

}
Expand Down
2 changes: 1 addition & 1 deletion src/domain/model/remote-account/RemoteMoneyDest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

void RemoteMoneyDest::transferMoneyFrom(const std::string& fromId, U32 amount)
{
sendTransferToProtocaMsg(fromId, ROLE(AccountInfo).getAccountId(), amount);
sendTransferToProtocolMsg(fromId, ROLE(AccountInfo).getAccountId(), amount);
Response resp = waitProtocolResp();
if (resp.isFailed)
{
Expand Down

0 comments on commit d9fa25d

Please sign in to comment.