Skip to content

Commit

Permalink
fix the remote call name of FileAppend
Browse files Browse the repository at this point in the history
  • Loading branch information
QuestofIranon committed Mar 26, 2020
1 parent 7f7fcc9 commit 127da2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func getMethodName(transactionBody *proto.TransactionBody) (string, error) {
return "/proto.FileService/updateFile", nil

case *proto.TransactionBody_FileAppend:
return "/proto.FileService/appendFile", nil
return "/proto.FileService/appendContent", nil

case *proto.TransactionBody_FileDelete:
return "/proto.FileService/deleteFile", nil
Expand Down

0 comments on commit 127da2f

Please sign in to comment.