Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rustyrussell/pettycoin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 740a90b4058f
Choose a base ref
...
head repository: rustyrussell/pettycoin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ed62a32f985a
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Aug 21, 2014

  1. Copy the full SHA
    a60d476 View commit details

Commits on Aug 27, 2014

  1. Merge pull request #28 from maksqwe/json_add_signature_fix

    Fix protocol_signature size for json_add_hex()
    rustyrussell committed Aug 27, 2014
    Copy the full SHA
    ed62a32 View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 json.c
2 changes: 1 addition & 1 deletion json.c
Original file line number Diff line number Diff line change
@@ -331,7 +331,7 @@ void json_add_address(char **result, const char *fieldname, bool test_net,
void json_add_signature(char **result, const char *fieldname,
const struct protocol_signature *sig)
{
json_add_hex(result, fieldname, sig, sizeof(sig));
json_add_hex(result, fieldname, sig, sizeof(*sig));
}

void json_add_object(char **result, ...)