fabric-samples/token-erc-1155/chaincode-go
Baran Kılıç 98028c7da0 Fix ERC1155 chaincode indeterminism caused by iterating maps in Go
The functions BatchTransferFrom and BatchTransferFromMultiRecipient in ERC1155 sometimes give the error `ProposalResponsePayloads do not match`. This happens because iterating maps in Go is not deterministic. As a solution, I copied the keys of the map and sorted them and iterated over the sorted keys.

Signed-off-by: Baran Kılıç <baran.kilic@boun.edu.tr>
2021-09-29 17:23:35 -04:00
..
chaincode Fix ERC1155 chaincode indeterminism caused by iterating maps in Go 2021-09-29 17:23:35 -04:00
erc1155.go Add ERC1155 chaincode in Go (#463) 2021-09-01 23:05:57 +02:00
go.mod Add ERC1155 chaincode in Go (#463) 2021-09-01 23:05:57 +02:00
go.sum Add ERC1155 chaincode in Go (#463) 2021-09-01 23:05:57 +02:00