Skip to content

Commit

Permalink
[FABN-1157] Update to latest token proto messages
Browse files Browse the repository at this point in the history
- copy latest proto messages and rebuild bundle.json

Change-Id: I953898ef45df9105f17e4059caf13398bf0faf92
Signed-off-by: Wenjian Qiao <wenjianq@gmail.com>
  • Loading branch information
wenjianqiao committed Feb 21, 2019
1 parent 20c5df5 commit 3ef429f
Show file tree
Hide file tree
Showing 9 changed files with 103 additions and 346 deletions.
2 changes: 1 addition & 1 deletion fabric-client/test/Channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -3496,7 +3496,7 @@ describe('Channel', () => {

// prepare token transaction request
tokenTx = new fabprotos.token.TokenTransaction();
tokenTx.set('plain_action', new fabprotos.token.PlainTokenAction());
tokenTx.set('token_action', new fabprotos.token.TokenAction());
request = {tokenTransaction: tokenTx, txId: txIdStub};
});

Expand Down
2 changes: 1 addition & 1 deletion fabric-client/test/TokenClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ describe('TokenClient', () => {
command.setHeader(commandHeader);

tokenTx = new fabprotos.token.TokenTransaction();
tokenTx.set('plain_action', new fabprotos.token.PlainTokenAction());
tokenTx.set('token_action', new fabprotos.token.TokenAction());

// create stubs
sha2_256Stub = sinon.stub();
Expand Down
Loading

0 comments on commit 3ef429f

Please sign in to comment.