diff --git a/sdk/sdk.go b/sdk/sdk.go index 59d49b1e356c307149176515f3f2ef74c8ecc13c..009f8b165ca4762a3c80f7f1d94479840dae60a9 100644 --- a/sdk/sdk.go +++ b/sdk/sdk.go @@ -538,7 +538,6 @@ func (s *SDK) GetTxId() (string, error) { } func (s *SDK) GetTxInfo(txId string) protogo.Response { - contractVersion := "v1.0.0" paramTxId := "txId" paramMethod := "method" @@ -549,7 +548,7 @@ func (s *SDK) GetTxInfo(txId string) protogo.Response { paramMethod: []byte(method), } - response := s.CallContract(contractName, contractVersion, args) + response := s.CallContract(contractName, method, args) return response }