anchor.diff:                                              Map)),
       BothSigned = aec_test_utils:sign_tx(CloseTx, [InSecKey, RespSecKey]),
       Transaction = aec_base58c:encode(transaction, aetx_sign:serialize_to_binary(BothSigned)),
  -    {ok, 200, Response} = request(Node, 'PostTransaction', #{tx => Transaction}),
  -    Response.
  +    verify(200, request(Node, 'PostTransaction', #{tx => Transaction})).
   
   post_deposit_state_channel_tx(Node, PayingParty, OtherParty, ChannelId, #{nonce := _} = Map) ->
       #{ pubkey := InPubKey, privkey := InSecKey } = PayingParty,
  
positive.code:                                        Map)),
      BothSigned = aec_test_utils:sign_tx(DepositTx, [InSecKey, RespSecKey]),
      Transaction = aec_base58c:encode(transaction, aetx_sign:serialize_to_binary(BothSigned)),
      {ok, 200, Response} = request(Node, 'PostTransaction', #{tx => Transaction}),
      Response.
  
  post_withdraw_state_channel_tx(Node, RecParty, OtherParty, ChannelId, #{nonce := _} = Map) ->
      #{ pubkey := InPubKey, privkey := InSecKey } = RecParty,
  
negative.code:     end.
  
  get_top(NodeName) ->
      Top = verify(200, request(NodeName, 'GetTopBlock', #{})),
      case Top of
          #{key_block := KeyBlock} -> KeyBlock;
          #{micro_block := MicroBlock} -> MicroBlock
      end.
  
  get_mempool(NodeName) ->
      Txs = verify(200, request(NodeName, 'GetPendingTransactions', #{})),
      case {maps:get(<<"transactions">>, Txs, undefined),
            maps:get(transactions, Txs, undefined)} of
          {undefined, Mempool} -> Mempool; %% future proof
  