Skip to content

Commit

Permalink
add a note about a problem with checks
Browse files Browse the repository at this point in the history
To ensure that transaction was successfully committed to the blockchain, you need to find the transaction by the hash and ensure that the status code equals to 0.
  • Loading branch information
klim0v committed May 20, 2020
1 parent 43aebae commit 13e6805
Show file tree
Hide file tree
Showing 5 changed files with 113 additions and 79 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Generate static assets for OpenAPI UI
run: statik -m -f -src docs/

#todo - run: rm -rf docs
- run: rm -rf docs

- name: Commit changes
uses: EndBug/add-and-commit@v4
Expand Down
2 changes: 2 additions & 0 deletions api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,8 @@ service ApiService {
option deprecated = true;
}
//SendTransaction returns the result of sending signed tx.
//To ensure that transaction was successfully committed to the blockchain,
//you need to find the transaction by the hash and ensure that the status code equals to 0.
rpc SendTransaction (SendTransactionRequest) returns (SendTransactionResponse) {
option (google.api.http) = {
get: "/send_transaction/{tx}"
Expand Down
Loading

0 comments on commit 13e6805

Please sign in to comment.