@@ -3873,7 +3873,7 @@ func (r *rpcServer) QueryProof(ctx context.Context,
3873
3873
}
3874
3874
3875
3875
rpcsLog .Tracef ("[QueryProof]: fetching proof at (universeID=%v, " +
3876
- "leafKey=%x)" , universeID , leafKey .UniverseKey ())
3876
+ "leafKey=%x)" , universeID . StringForLog () , leafKey .UniverseKey ())
3877
3877
3878
3878
// Retrieve proof export config for the given universe.
3879
3879
syncConfigs , err := r .cfg .UniverseFederation .QuerySyncConfigs (ctx )
@@ -3937,7 +3937,8 @@ func (r *rpcServer) QueryProof(ctx context.Context,
3937
3937
3938
3938
rpcsLog .Debugf ("[QueryProof]: error querying for " +
3939
3939
"proof at (universeID=%v, leafKey=%x)" ,
3940
- universeID , leafKey .UniverseKey ())
3940
+ universeID .StringForLog (),
3941
+ leafKey .UniverseKey ())
3941
3942
return nil , err
3942
3943
}
3943
3944
@@ -3953,12 +3954,13 @@ func (r *rpcServer) QueryProof(ctx context.Context,
3953
3954
3954
3955
// TODO(roasbeef): query may return multiple proofs, if allow key to
3955
3956
// not be fully specified
3956
- proof := proofs [0 ]
3957
+ firstProof := proofs [0 ]
3957
3958
3958
3959
rpcsLog .Tracef ("[QueryProof]: found proof at (universeID=%v, " +
3959
- "leafKey=%x)" , universeID , leafKey .UniverseKey ())
3960
+ "leafKey=%x)" , universeID .StringForLog (),
3961
+ leafKey .UniverseKey ())
3960
3962
3961
- return r .marshalUniverseProofLeaf (ctx , req , proof )
3963
+ return r .marshalUniverseProofLeaf (ctx , req , firstProof )
3962
3964
}
3963
3965
3964
3966
// unmarshalAssetLeaf unmarshals an asset leaf from the RPC form.
0 commit comments