Skip to content

Commit

Permalink
Explicit generated location
Browse files Browse the repository at this point in the history
- This copies the pattern from lightwallet-client-lib module where we set the package for the generated classes
- It adds internal to the path, to be explicit about not exposing it out of the backend module
  • Loading branch information
HonzaR authored and str4d committed Jan 23, 2024
1 parent 81bc085 commit 1bcd794
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cash.z.ecc.android.sdk.internal.model

import cash.z.wallet.sdk.ffi.ProposalOuterClass.FeeRule
import cash.z.wallet.sdk.ffi.ProposalOuterClass.Proposal
import cash.z.wallet.sdk.internal.ffi.ProposalOuterClass.FeeRule
import cash.z.wallet.sdk.internal.ffi.ProposalOuterClass.Proposal

/**
* A transaction proposal created by the Rust backend in response to a Kotlin request.
Expand Down
1 change: 1 addition & 0 deletions backend-lib/src/main/proto/proposal.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";
package cash.z.wallet.sdk.ffi;
option java_package = "cash.z.wallet.sdk.internal.ffi";

// A data structure that describes the inputs to be consumed and outputs to
// be produced in a proposed transaction.
Expand Down

0 comments on commit 1bcd794

Please sign in to comment.