Skip to content

Commit

Permalink
[Codegen]: Fix Protobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
satoshiotomakan committed Nov 23, 2023
1 parent 05368fb commit b6831b5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions codegen-v2/src/codegen/proto/templates/Blockchain.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ syntax = "proto3";
package TW.{BLOCKCHAIN}.Proto;
option java_package = "wallet.core.jni.proto";

import "Common.proto";

// TODO: typical balance transfer, add more fields needed to sign
message TransferMessage {
int64 amount = 1;
Expand All @@ -29,4 +31,9 @@ message SigningInput {
message SigningOutput {
// Signed and encoded transaction bytes.
bytes encoded = 1;

// A possible error, `OK` if none.
Common.Proto.SigningError error = 2;

string error_message = 3;
}

0 comments on commit b6831b5

Please sign in to comment.