Skip to content

Commit 670dde7

Browse files
author
Roman Bylbas
committed
Fixed keys at GlobalStateSerializer
Signed-off-by: Roman Bylbas <romka.bulbas@gmail.com>
1 parent 863dfd5 commit 670dde7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Serializer/GlobalStateSerializer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ class GlobalStateSerializer extends JsonSerializer
1212
public static function toJson($globalState): array
1313
{
1414
return array(
15-
'node_id' => BlockHeaderSerializer::toJson($globalState->getBlockHeader()),
16-
'address' => StoredValueSerializer::toJson($globalState->getStoredValue()),
15+
'block_header' => BlockHeaderSerializer::toJson($globalState->getBlockHeader()),
16+
'stored_value' => StoredValueSerializer::toJson($globalState->getStoredValue()),
1717
);
1818
}
1919

0 commit comments

Comments
 (0)