Skip to content

Commit e4346ee

Browse files
committed
Bug fix in Fabric Interop CC
Wrong 'utils' function was called earlier from external request handler code. Signed-off-by: VRamakrishna <[email protected]>
1 parent ee99815 commit e4346ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/network/fabric-interop-cc/contracts/interop/handle_external_request.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030
// 4. Calls application chaincode
3131
func (s *SmartContract) HandleExternalRequest(ctx contractapi.TransactionContextInterface, b64QueryBytes string) (string, error) {
3232
if !s.testMode {
33-
relayAccessCheck, err := wutils.CheckAccessIfRelayClient(ctx.GetStub())
33+
relayAccessCheck, err := wutils.IsClientRelay(ctx.GetStub())
3434
if err != nil {
3535
return "", err
3636
}

0 commit comments

Comments
 (0)