diff --git a/rpcserver.go b/rpcserver.go index e9ac9cd1e..78583a53b 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -2619,7 +2619,7 @@ func marshalBatchState(batch *tapgarden.MintingBatch) (mintrpc.BatchState, switch currentBatchState { case tapgarden.BatchStatePending: - return mintrpc.BatchState_BATCH_STATE_PEDNING, nil + return mintrpc.BatchState_BATCH_STATE_PENDING, nil case tapgarden.BatchStateFrozen: return mintrpc.BatchState_BATCH_STATE_FROZEN, nil diff --git a/taprpc/mintrpc/mint.pb.go b/taprpc/mintrpc/mint.pb.go index a22830fe8..b8d489104 100644 --- a/taprpc/mintrpc/mint.pb.go +++ b/taprpc/mintrpc/mint.pb.go @@ -25,7 +25,7 @@ type BatchState int32 const ( BatchState_BATCH_STATE_UNKNOWN BatchState = 0 - BatchState_BATCH_STATE_PEDNING BatchState = 1 + BatchState_BATCH_STATE_PENDING BatchState = 1 BatchState_BATCH_STATE_FROZEN BatchState = 2 BatchState_BATCH_STATE_COMMITTED BatchState = 3 BatchState_BATCH_STATE_BROADCAST BatchState = 4 @@ -39,7 +39,7 @@ const ( var ( BatchState_name = map[int32]string{ 0: "BATCH_STATE_UNKNOWN", - 1: "BATCH_STATE_PEDNING", + 1: "BATCH_STATE_PENDING", 2: "BATCH_STATE_FROZEN", 3: "BATCH_STATE_COMMITTED", 4: "BATCH_STATE_BROADCAST", @@ -50,7 +50,7 @@ var ( } BatchState_value = map[string]int32{ "BATCH_STATE_UNKNOWN": 0, - "BATCH_STATE_PEDNING": 1, + "BATCH_STATE_PENDING": 1, "BATCH_STATE_FROZEN": 2, "BATCH_STATE_COMMITTED": 3, "BATCH_STATE_BROADCAST": 4, @@ -939,7 +939,7 @@ var file_mintrpc_mint_proto_rawDesc = []byte{ 0x63, 0x68, 0x65, 0x73, 0x2a, 0x88, 0x02, 0x0a, 0x0a, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x42, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, - 0x42, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x45, 0x44, 0x4e, + 0x42, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x42, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x52, 0x4f, 0x5a, 0x45, 0x4e, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x42, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4d, diff --git a/taprpc/mintrpc/mint.proto b/taprpc/mintrpc/mint.proto index cc4fe4713..d632e02e9 100644 --- a/taprpc/mintrpc/mint.proto +++ b/taprpc/mintrpc/mint.proto @@ -157,7 +157,7 @@ message MintingBatch { enum BatchState { BATCH_STATE_UNKNOWN = 0; - BATCH_STATE_PEDNING = 1; + BATCH_STATE_PENDING = 1; BATCH_STATE_FROZEN = 2; BATCH_STATE_COMMITTED = 3; BATCH_STATE_BROADCAST = 4; diff --git a/taprpc/mintrpc/mint.swagger.json b/taprpc/mintrpc/mint.swagger.json index cb5d6d853..1b90286f1 100644 --- a/taprpc/mintrpc/mint.swagger.json +++ b/taprpc/mintrpc/mint.swagger.json @@ -161,7 +161,7 @@ "type": "string", "enum": [ "BATCH_STATE_UNKNOWN", - "BATCH_STATE_PEDNING", + "BATCH_STATE_PENDING", "BATCH_STATE_FROZEN", "BATCH_STATE_COMMITTED", "BATCH_STATE_BROADCAST",