Skip to content

Commit

Permalink
corrected the satpsimpleasset smart contract
Browse files Browse the repository at this point in the history
  • Loading branch information
outsidethecode committed Jan 20, 2024
1 parent e06737d commit 362ddfc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions weaver/samples/fabric/satpsimpleasset/assetmgmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ func (s *SmartContract) LockAsset(ctx contractapi.TransactionContextInterface, a
if err != nil {
return "", err
}
err = s.BondAssetSpecificChecks(ctx, assetAgreement.AssetType, assetAgreement.Id, lockInfoSerializedProto64)
if err != nil {
return "", logThenErrorf(err.Error())
}

contractId, err := s.amc.LockAsset(ctx, assetExchangeAgreementSerializedProto64, lockInfoSerializedProto64)
if err != nil {
Expand Down

0 comments on commit 362ddfc

Please sign in to comment.