Skip to content

Commit

Permalink
增加响应的结构
Browse files Browse the repository at this point in the history
  • Loading branch information
linabellbiu committed Jan 7, 2021
1 parent 04af4a5 commit b5d5334
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions filecoin_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,8 @@ type Response struct {
Error string `json:"error"`
Data string `json:"data"`
}

type RespGas struct {
JsonRpc string `json:"jsonrpc"`
Result GasBody `json:"result"`
}

0 comments on commit b5d5334

Please sign in to comment.