mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
Fix duplicate code: asset-transfer-basic/application-go (#313)
Signed-off-by: zatton <ou4ei1@gmail.com>
This commit is contained in:
parent
eb88315107
commit
b1471ef850
1 changed files with 0 additions and 6 deletions
|
|
@ -75,12 +75,6 @@ func main() {
|
|||
}
|
||||
log.Println(string(result))
|
||||
|
||||
result, err = contract.SubmitTransaction("CreateAsset", "asset13", "yellow", "5", "Tom", "1300")
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to submit transaction: %v", err)
|
||||
}
|
||||
log.Println(string(result))
|
||||
|
||||
log.Println("--> Submit Transaction: CreateAsset, creates new asset with ID, color, owner, size, and appraisedValue arguments")
|
||||
result, err = contract.SubmitTransaction("CreateAsset", "asset13", "yellow", "5", "Tom", "1300")
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue