Commit ccd50ed0 authored by harrylee's avatar harrylee

fix a bug for serverpair

parent 1f4a84f5
...@@ -511,7 +511,8 @@ func (c *Client) IncreaseInMeta(original *pb.IBTP) (*pb.IBTP, error) { ...@@ -511,7 +511,8 @@ func (c *Client) IncreaseInMeta(original *pb.IBTP) (*pb.IBTP, error) {
} }
func (c *Client) GetReceipt(ibtp *pb.IBTP) (*pb.IBTP, error) { func (c *Client) GetReceipt(ibtp *pb.IBTP) (*pb.IBTP, error) {
result, err := c.GetInMessage(ibtp.ID(), ibtp.Nonce) //FIXME servicePair
result, err := c.GetInMessage(genServicePair(ibtp.From,ibtp.To), ibtp.Nonce)
if err != nil { if err != nil {
return nil, err return nil, err
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment