Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LuttyYang committed Aug 7, 2021
1 parent 7790557 commit 2ce4211
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
21 changes: 16 additions & 5 deletions sdk/wallet/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,22 @@ var RpcApis = []*client.TemplateRpcMethod{
Path: "wallet_id",
},
{
Name: "address",
Desc: "Address",
Type: reflect.String,
Default: 1,
Path: "address",
Name: "amount",
Desc: "Amount",
Type: reflect.Int,
Path: "amount",
},
{
Name: "fee",
Desc: "fee",
Type: reflect.Int,
Path: "fee",
},
{
Name: "address",
Desc: "address",
Type: reflect.String,
Path: "address",
},
},
},
Expand Down
8 changes: 5 additions & 3 deletions sdk/wallet/sdk_generator.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2ce4211

Please sign in to comment.