mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-23 01:55:10 +00:00
Update contract.go
This commit is contained in:
parent
a91c91b7cf
commit
2920f1358b
1 changed files with 1 additions and 1 deletions
|
|
@ -420,7 +420,7 @@ func (s *SmartContract) BatchTransferFrom(ctx contractapi.TransactionContextInte
|
|||
// BatchTransferToMultiRecipient transfers multiple tokens from sender account to multiple recipient accounts
|
||||
// recipient account must be a valid clientID as returned by the ClientID() function
|
||||
// This function triggers a TransferBatchMultiRecipient event
|
||||
func (s *SmartContract) BatchTransferToMultiRecipient(ctx contractapi.TransactionContextInterface, sender string, recipients []string, ids []uint64, amounts []uint64) error {
|
||||
func (s *SmartContract) BatchTransferToMultiRecipientFrom(ctx contractapi.TransactionContextInterface, sender string, recipients []string, ids []uint64, amounts []uint64) error {
|
||||
|
||||
//check if contract has been intilized first
|
||||
initialized, err := checkInitialized(ctx)
|
||||
|
|
|
|||
Loading…
Reference in a new issue